From f433ddf7b23823f50017a9b6232fccebeaf142bf Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 7 Aug 2000 18:28:51 +0000 Subject: s/strcasecmp/g_strcasecmp 2000-08-07 Jeffrey Stedfast * e-msg-composer-attachment-bar.c (attach_to_multipart): s/strcasecmp/g_strcasecmp svn path=/trunk/; revision=4574 --- composer/ChangeLog | 3 +++ composer/e-msg-composer-attachment-bar.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/composer/ChangeLog b/composer/ChangeLog index 8824781fcb..264f97ad29 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,5 +1,8 @@ 2000-08-07 Jeffrey Stedfast + * e-msg-composer-attachment-bar.c (attach_to_multipart): + s/strcasecmp/g_strcasecmp + * e-msg-composer.c: s/strncasecmp/g_strncasecmp - this will help later with building on different platforms :-) diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c index 405104f608..20b6c3d3d2 100644 --- a/composer/e-msg-composer-attachment-bar.c +++ b/composer/e-msg-composer-attachment-bar.c @@ -587,10 +587,10 @@ attach_to_multipart (CamelMultipart *multipart, * for all else except message (which must be 7bit, 8bit, or * binary). FIXME. */ - if (!strcasecmp (content_type->type, "text")) { + if (!g_strcasecmp (content_type->type, "text")) { camel_mime_part_set_encoding (attachment->body, CAMEL_MIME_PART_ENCODING_QUOTEDPRINTABLE); - } else if (strcasecmp (content_type->type, "message") != 0) { + } else if (g_strcasecmp (content_type->type, "message") != 0) { camel_mime_part_set_encoding (attachment->body, CAMEL_MIME_PART_ENCODING_BASE64); } -- cgit v1.2.3