diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-08-08 02:32:55 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-08-08 02:32:55 +0800 |
commit | 0a9fdd88421c68d3ecdd88bb220c72b111f1fe55 (patch) | |
tree | 82981ed9817f00bb47d3c2806005b2d08105a3a3 /mail/mail-display.c | |
parent | f433ddf7b23823f50017a9b6232fccebeaf142bf (diff) | |
download | gsoc2013-evolution-0a9fdd88421c68d3ecdd88bb220c72b111f1fe55.tar.gz gsoc2013-evolution-0a9fdd88421c68d3ecdd88bb220c72b111f1fe55.tar.zst gsoc2013-evolution-0a9fdd88421c68d3ecdd88bb220c72b111f1fe55.zip |
s/strncasecmp/g_strncasecmp
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
* mail-display.c:
* component-factory.c: s/strncasecmp/g_strncasecmp
* mail-format.c (write_headers): Get rid of kludge around subject
beginning with spaces.
(mail_generate_reply): Get rid of kludge around subject beginning
with spaces and also use g_strncasecmp instead of strncasecmp for
portability
* mail-ops.c (forward_msg): Get rid of kludges around subject
beginning with spaces.
svn path=/trunk/; revision=4575
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r-- | mail/mail-display.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c index 3af2ec1b15..3603cfb41f 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -220,14 +220,14 @@ on_link_clicked (GtkHTML *html, const char *url, gpointer user_data) message = gtk_object_get_data (GTK_OBJECT (html), "message"); - if (!strncasecmp (url, "news:", 5) || - !strncasecmp (url, "nntp:", 5)) + if (!g_strncasecmp (url, "news:", 5) || + !g_strncasecmp (url, "nntp:", 5)) g_warning ("Can't handle news URLs yet."); - else if (!strncasecmp (url, "mailto:", 7)) + else if (!g_strncasecmp (url, "mailto:", 7)) send_to_url (url); - else if (!strncasecmp (url, "cid:", 4)) + else if (!g_strncasecmp (url, "cid:", 4)) save_data (url, message); - else if (!strncasecmp (url, "x-evolution-external:", 21)) + else if (!g_strncasecmp (url, "x-evolution-external:", 21)) launch_external (url, message); else gnome_url_show (url); |