aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-04 10:40:08 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-04 10:40:08 +0000
commit08638d7460a3d5180ba1825cca37ff4ec04b7191 (patch)
tree553e31ccc0122136c335c43e44cac8dd20b77e3c /src/utils.c
parenta8951213805924a73114984e43d50899cefb6f4d (diff)
removed locale-dependent tolower().
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@465 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c
index fb021df9..35dbffa0 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -104,9 +104,9 @@ guint str_case_hash(gconstpointer key)
guint h = *p;
if (h) {
- h = tolower(h);
+ h = g_ascii_tolower(h);
for (p += 1; *p != '\0'; p++)
- h = (h << 5) - h + tolower(*p);
+ h = (h << 5) - h + g_ascii_tolower(*p);
}
return h;