projects
/
m17n
/
m17n-im-config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ffbd09
)
*** empty log message ***
author
handa
<handa>
Sun, 10 Jun 2007 13:51:25 +0000
(13:51 +0000)
committer
handa
<handa>
Sun, 10 Jun 2007 13:51:25 +0000
(13:51 +0000)
src/mim-config.c
patch
|
blob
|
history
diff --git
a/src/mim-config.c
b/src/mim-config.c
index
42c7cf3
..
d172924
100644
(file)
--- 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);
}