Mercurial > pidgin
diff src/gtkprefs.c @ 10167:cf45c2a6a7cf
[gaim-migrate @ 11254]
Some stuff - fix a crash removing chats from the buddy list, escape aliases
in buddy pounce popups and the state notifications from the state notify
plugin, and fix a corner-case crash in smiley theme sorting.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Wed, 10 Nov 2004 17:08:32 +0000 |
parents | 3f71f7282dbf |
children | e6372844a4b8 |
line wrap: on
line diff
--- a/src/gtkprefs.c Tue Nov 09 05:48:26 2004 +0000 +++ b/src/gtkprefs.c Wed Nov 10 17:08:32 2004 +0000 @@ -608,8 +608,11 @@ if (!(name1 == NULL && name2 == NULL)) ret = (name1 == NULL) ? -1: 1; } else if (!g_ascii_strcasecmp(name1, "none")) { - /* Sort name1 first */ - ret = -1; + if (!g_utf8_collate(name1, name2)) + ret = 0; + else + /* Sort name1 first */ + ret = -1; } else if (!g_ascii_strcasecmp(name2, "none")) { /* Sort name2 first */ ret = 1;