diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-08-08 02:27:17 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-08-08 02:27:17 +0800 |
commit | 95684042a284502b02a11a9462d79397d8750914 (patch) | |
tree | adfb29c379515de74efb6eb0912c697275c4ab86 /composer | |
parent | 725c2912fc8e06f14685a07284200be1ede581bf (diff) | |
download | gsoc2013-evolution-95684042a284502b02a11a9462d79397d8750914.tar gsoc2013-evolution-95684042a284502b02a11a9462d79397d8750914.tar.gz gsoc2013-evolution-95684042a284502b02a11a9462d79397d8750914.tar.bz2 gsoc2013-evolution-95684042a284502b02a11a9462d79397d8750914.tar.lz gsoc2013-evolution-95684042a284502b02a11a9462d79397d8750914.tar.xz gsoc2013-evolution-95684042a284502b02a11a9462d79397d8750914.tar.zst gsoc2013-evolution-95684042a284502b02a11a9462d79397d8750914.zip |
s/strncasecmp/g_strncasecmp - this will help later with building on
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 :-)
svn path=/trunk/; revision=4573
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 12 |
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); |