aboutsummaryrefslogtreecommitdiff
path: root/src/textview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-10 09:28:05 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-10 09:28:05 +0000
commit2ce75a37bcca6a5c960c1fb56b530c24de5a8492 (patch)
tree0c67890575d8e869cef9e8e67e14b12e7959b0d2 /src/textview.c
parent7ac4bf2db5d09d02f9e0e7ca4da691b7bd5ff0d9 (diff)
fixed Turkish locale problem.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@333 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/textview.c')
-rw-r--r--src/textview.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/textview.c b/src/textview.c
index e86499f3..c476b215 100644
--- a/src/textview.c
+++ b/src/textview.c
@@ -689,8 +689,8 @@ static void textview_add_parts(TextView *textview, MimeInfo *mimeinfo, FILE *fp)
for (;;) {
textview_add_part(textview, mimeinfo, fp);
if (mimeinfo->parent && mimeinfo->parent->content_type &&
- !strcasecmp(mimeinfo->parent->content_type,
- "multipart/alternative"))
+ !g_ascii_strcasecmp(mimeinfo->parent->content_type,
+ "multipart/alternative"))
mimeinfo = mimeinfo->parent->next;
else
mimeinfo = procmime_mimeinfo_next(mimeinfo);
@@ -1213,7 +1213,7 @@ static GPtrArray *textview_scan_header(TextView *textview, FILE *fp,
for (i = 0; i < headers->len; i++) {
header = g_ptr_array_index(headers, i);
- if (!g_strcasecmp(header->name, dp->name)) {
+ if (!g_ascii_strcasecmp(header->name, dp->name)) {
if (dp->hidden)
procheader_header_free(header);
else
@@ -1262,10 +1262,10 @@ static void textview_show_header(TextView *textview, GPtrArray *headers)
(buffer, &iter, ":", 1,
"header_title", "header", NULL);
- if (!g_strcasecmp(header->name, "Subject") ||
- !g_strcasecmp(header->name, "From") ||
- !g_strcasecmp(header->name, "To") ||
- !g_strcasecmp(header->name, "Cc"))
+ if (!g_ascii_strcasecmp(header->name, "Subject") ||
+ !g_ascii_strcasecmp(header->name, "From") ||
+ !g_ascii_strcasecmp(header->name, "To") ||
+ !g_ascii_strcasecmp(header->name, "Cc"))
unfold_line(header->body);
if (prefs_common.enable_color &&
@@ -1704,7 +1704,7 @@ static gboolean textview_event_after(GtkWidget *widget, GdkEvent *event,
if (!uri)
return FALSE;
- if (!g_strncasecmp(uri->uri, "mailto:", 7)) {
+ if (!g_ascii_strncasecmp(uri->uri, "mailto:", 7)) {
PrefsAccount *ac = NULL;
MsgInfo *msginfo = textview->messageview->msginfo;
@@ -1906,7 +1906,7 @@ static void textview_popup_menu_activate_copy_cb(GtkMenuItem *menuitem,
if (!uri->uri)
return;
- if (!g_strncasecmp(uri->uri, "mailto:", 7))
+ if (!g_ascii_strncasecmp(uri->uri, "mailto:", 7))
uri_string = uri->uri + 7;
else
uri_string = uri->uri;