From aec9bb02f0534e6666eadd54c8f07c892a57ee73 Mon Sep 17 00:00:00 2001 From: handa Date: Sun, 10 Jun 2007 13:51:25 +0000 Subject: [PATCH] *** empty log message *** --- src/mim-config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mim-config.c b/src/mim-config.c index 42c7cf3..d172924 100644 --- a/src/mim-config.c +++ b/src/mim-config.c @@ -273,6 +273,8 @@ sort_im (const void *p1, const void *p2) return (t1->encoded_lang ? -1 : 1); if (t1->encoded_lang) result = strcoll (t1->encoded_lang, t2->encoded_lang); + else if ((! t1->lang) != (! t2->lang)) + return (t1->lang ? -1 : 1); else result = strcmp (t1->lang, t2->lang); } -- 1.7.10.4