aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c12
2 files changed, 11 insertions, 6 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 446240f0ff..8824781fcb 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,5 +1,10 @@
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
+ * e-msg-composer.c: s/strncasecmp/g_strncasecmp - this will help
+ later with building on different platforms :-)
+
+2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
+
* e-msg-composer.c (e_msg_composer_new_with_message): Added code
to set the body text based on the CamelMimeMessage.
(set_editor_text): Use lowercase html tags...
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 2e50a9029f..2793535b51 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1429,7 +1429,7 @@ e_msg_composer_new_from_url (const char *url)
int len, clen;
char *content;
- g_return_val_if_fail (strncasecmp (url, "mailto:", 7) == 0, NULL);
+ g_return_val_if_fail (g_strncasecmp (url, "mailto:", 7) == 0, NULL);
/* Parse recipients (everything after ':' until '?' or eos. */
p = url + 7;
@@ -1458,15 +1458,15 @@ e_msg_composer_new_from_url (const char *url)
content = g_strndup (p, clen);
camel_url_decode (content);
- if (!strncasecmp (header, "to", len))
+ if (!g_strncasecmp (header, "to", len))
to = add_recipients (to, content, FALSE);
- else if (!strncasecmp (header, "cc", len))
+ else if (!g_strncasecmp (header, "cc", len))
cc = add_recipients (cc, content, FALSE);
- else if (!strncasecmp (header, "bcc", len))
+ else if (!g_strncasecmp (header, "bcc", len))
bcc = add_recipients (bcc, content, FALSE);
- else if (!strncasecmp (header, "subject", len))
+ else if (!g_strncasecmp (header, "subject", len))
subject = g_strdup (content);
- else if (!strncasecmp (header, "body", len))
+ else if (!g_strncasecmp (header, "body", len))
body = g_strdup (content);
g_free (content);