projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92e848e
)
Modest textutils utf8 comparison bug fixed
author
Jose Dapena Paz
<jdapena@igalia.com>
Mon, 22 Dec 2008 11:33:50 +0000
(11:33 +0000)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Mon, 22 Dec 2008 11:33:50 +0000
(11:33 +0000)
pmo-trunk-r6971
src/modest-text-utils.c
patch
|
blob
|
history
diff --git
a/src/modest-text-utils.c
b/src/modest-text-utils.c
index
d228e17
..
bb4da39
100644
(file)
--- 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);