aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-09-28 18:34:18 +0800
committerTor Lillqvist <tml@src.gnome.org>2005-09-28 18:34:18 +0800
commitc8bc7fc32c0cec40ca5f547e5b01d02985f37510 (patch)
tree6aa76a0a4e620426a81b11ab6be17d2bf2e3eaaf /mail/em-folder-view.c
parent14d14477fd707760452a90a3d076ce9b2c1fa9a4 (diff)
downloadgsoc2013-evolution-c8bc7fc32c0cec40ca5f547e5b01d02985f37510.tar.gz
gsoc2013-evolution-c8bc7fc32c0cec40ca5f547e5b01d02985f37510.tar.zst
gsoc2013-evolution-c8bc7fc32c0cec40ca5f547e5b01d02985f37510.zip
em-composer-utils.c (reply_get_composer, get_reply_list,
2005-09-28 Tor Lillqvist <tml@novell.com> * em-composer-utils.c (reply_get_composer, get_reply_list, post_reply_to_message) * em-folder-view.c (emfv_format_link_clicked): Use g_ascii_strncasecmp() instead of strncasecmp(). We are comparing to literal ASCII strings, so just casefolding ASCII is enough. Also better for portability. svn path=/trunk/; revision=30397
Diffstat (limited to 'mail/em-folder-view.c')
-rw-r--r--mail/em-folder-view.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 272da2e0c0..27e4e9452d 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -2376,13 +2376,13 @@ emfv_list_selection_change(ETree *tree, EMFolderView *emfv)
static void
emfv_format_link_clicked(EMFormatHTMLDisplay *efhd, const char *uri, EMFolderView *emfv)
{
- if (!strncasecmp (uri, "mailto:", 7)) {
+ if (!g_ascii_strncasecmp (uri, "mailto:", 7)) {
em_utils_compose_new_message_with_mailto (uri, emfv->folder_uri);
} else if (*uri == '#') {
gtk_html_jump_to_anchor (((EMFormatHTML *) efhd)->html, uri + 1);
- } else if (!strncasecmp (uri, "thismessage:", 12)) {
+ } else if (!g_ascii_strncasecmp (uri, "thismessage:", 12)) {
/* ignore */
- } else if (!strncasecmp (uri, "cid:", 4)) {
+ } else if (!g_ascii_strncasecmp (uri, "cid:", 4)) {
/* ignore */
} else {
GError *err = NULL;