aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog3
-rw-r--r--composer/e-msg-composer-attachment-bar.c4
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 <fejj@helixcode.com>
+ * 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);
}