From 08638d7460a3d5180ba1825cca37ff4ec04b7191 Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 4 Aug 2005 10:40:08 +0000 Subject: removed locale-dependent tolower(). git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@465 ee746299-78ed-0310-b773-934348b2243d --- src/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3