aboutsummaryrefslogtreecommitdiffstats
path: root/composer/evolution-composer.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-02-02 13:05:07 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-02-02 13:05:07 +0800
commit38d71c0a1563222ac3cd21592e9cf67cfad928d5 (patch)
treed420a12b548e39d056e0e1d819ca2daa91f6de6e /composer/evolution-composer.c
parent8e738775adc3e76b60ec07fae2d504efd9f1455a (diff)
downloadgsoc2013-evolution-38d71c0a1563222ac3cd21592e9cf67cfad928d5.tar
gsoc2013-evolution-38d71c0a1563222ac3cd21592e9cf67cfad928d5.tar.gz
gsoc2013-evolution-38d71c0a1563222ac3cd21592e9cf67cfad928d5.tar.bz2
gsoc2013-evolution-38d71c0a1563222ac3cd21592e9cf67cfad928d5.tar.lz
gsoc2013-evolution-38d71c0a1563222ac3cd21592e9cf67cfad928d5.tar.xz
gsoc2013-evolution-38d71c0a1563222ac3cd21592e9cf67cfad928d5.tar.zst
gsoc2013-evolution-38d71c0a1563222ac3cd21592e9cf67cfad928d5.zip
use g_ascii_strcasecmp rather than strcasecmp.
2004-02-02 Not Zed <NotZed@Ximian.com> * evolution-composer.c (impl_Composer_set_body): use g_ascii_strcasecmp rather than strcasecmp. ** See bug #53506, again. * e-msg-composer.c (set_editor_text): Add an argument to make adding the signature optional. Also fix a memleak with the sig content. (e_msg_composer_new_with_type, e_msg_composer_flush_pending_body) (handle_mailto, e_msg_composer_set_body_text) (e_msg_composer_set_body): Fixed callers for above change appropriately. svn path=/trunk/; revision=24562
Diffstat (limited to 'composer/evolution-composer.c')
-rw-r--r--composer/evolution-composer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/composer/evolution-composer.c b/composer/evolution-composer.c
index 31da13c342..c028781de8 100644
--- a/composer/evolution-composer.c
+++ b/composer/evolution-composer.c
@@ -156,12 +156,12 @@ impl_Composer_set_body (PortableServer_Servant servant,
bonobo_object = bonobo_object_from_servant (servant);
composer = EVOLUTION_COMPOSER (bonobo_object);
- if (!strcasecmp (mime_type, "text/plain")) {
+ if (!g_ascii_strcasecmp (mime_type, "text/plain")) {
char *htmlbody = camel_text_to_html (body, CAMEL_MIME_FILTER_TOHTML_PRE, 0);
e_msg_composer_set_body_text (composer->composer, htmlbody);
g_free (htmlbody);
- } else if (!strcasecmp (mime_type, "text/html"))
+ } else if (!g_ascii_strcasecmp (mime_type, "text/html"))
e_msg_composer_set_body_text (composer->composer, body);
else
e_msg_composer_set_body (composer->composer, body, mime_type);