diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-04 10:40:08 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-04 10:40:08 +0000 |
commit | 08638d7460a3d5180ba1825cca37ff4ec04b7191 (patch) | |
tree | 553e31ccc0122136c335c43e44cac8dd20b77e3c | |
parent | a8951213805924a73114984e43d50899cefb6f4d (diff) |
removed locale-dependent tolower().
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@465 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.ja | 4 | ||||
-rw-r--r-- | src/utils.c | 4 |
3 files changed, 11 insertions, 3 deletions
@@ -1,5 +1,9 @@ 2005-08-04 + * src/utils.c: replaced tolower() with g_ascii_tolower(). + +2005-08-04 + * src/compose.c src/main.c src/utils.c @@ -44,7 +48,7 @@ src/addr_compl.c src/procmsg.c src/procmime.c - src/quoted-printable.c: replaced incorrect locale-independent ctype + src/quoted-printable.c: replaced incorrect locale-dependent ctype functions with GLib's. Corrected signedness mismatch. * src/about.c: set focus to the OK button. diff --git a/ChangeLog.ja b/ChangeLog.ja index 40166a24..d1149eed 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,5 +1,9 @@ 2005-08-04 + * src/utils.c: tolower() を g_ascii_tolower() で置き換えた。 + +2005-08-04 + * src/compose.c src/main.c src/utils.c 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; |