diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-06-10 09:28:05 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-06-10 09:28:05 +0000 |
commit | 2ce75a37bcca6a5c960c1fb56b530c24de5a8492 (patch) | |
tree | 0c67890575d8e869cef9e8e67e14b12e7959b0d2 /src/filter.c | |
parent | 7ac4bf2db5d09d02f9e0e7ca4da691b7bd5ff0d9 (diff) |
fixed Turkish locale problem.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@333 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/filter.c')
-rw-r--r-- | src/filter.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/filter.c b/src/filter.c index 983cee34..bc11a824 100644 --- a/src/filter.c +++ b/src/filter.c @@ -397,7 +397,8 @@ static gboolean filter_match_header_cond(FilterCond *cond, GSList *hlist) switch (cond->type) { case FLT_COND_HEADER: - if (!strcasecmp(header->name, cond->header_name)) { + if (!g_ascii_strcasecmp + (header->name, cond->header_name)) { if (!cond->str_value || cond->match_func(header->body, cond->str_value)) @@ -410,8 +411,8 @@ static gboolean filter_match_header_cond(FilterCond *cond, GSList *hlist) matched = TRUE; break; case FLT_COND_TO_OR_CC: - if (!strcasecmp(header->name, "To") || - !strcasecmp(header->name, "Cc")) { + if (!g_ascii_strcasecmp(header->name, "To") || + !g_ascii_strcasecmp(header->name, "Cc")) { if (!cond->str_value || cond->match_func(header->body, cond->str_value)) |