From: Jose Dapena Paz Date: Mon, 22 Dec 2008 11:33:50 +0000 (+0000) Subject: Modest textutils utf8 comparison bug fixed X-Git-Tag: git_migration_finished~900 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=2ef45a7f7facad7fa2ffaf1011aefc7a60898a6c Modest textutils utf8 comparison bug fixed pmo-trunk-r6971 --- diff --git a/src/modest-text-utils.c b/src/modest-text-utils.c index d228e17..bb4da39 100644 --- a/src/modest-text-utils.c +++ b/src/modest-text-utils.c @@ -1330,7 +1330,7 @@ modest_text_utils_utf8_strcmp (const gchar* s1, const gchar *s2, gboolean insens /* optimization: shortcut if first char is ascii */ if (((s1[0] & 0x80) == 0) && ((s2[0] & 0x80) == 0) && - (s1[0] != s2[0])) + (tolower(s1[0]) != tolower (s2[0]))) return tolower(s1[0]) - tolower(s2[0]); n1 = g_utf8_strdown (s1, -1);