[evolution-patches] PATCH: Small bug fix for camel-mime-utils.c
- From: Philip Van Hoof <spam pvanhoof be>
- To: evolution-patches <evolution-patches gnome org>
- Subject: [evolution-patches] PATCH: Small bug fix for camel-mime-utils.c
- Date: Wed, 16 Jan 2008 20:17:28 +0100
Please review
-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be
Index: camel-mime-utils.c
===================================================================
--- camel-mime-utils.c	(revision 8380)
+++ camel-mime-utils.c	(working copy)
@@ -920,7 +920,7 @@
 		charsets[i++] = default_charset;
 	
 	locale_charset = e_iconv_locale_charset ();
-	if (g_ascii_strcasecmp (locale_charset, "UTF-8") != 0)
+	if (locale_charset && g_ascii_strcasecmp (locale_charset, "UTF-8") != 0)
 		charsets[i++] = locale_charset;
 	
 	min = len;
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 8380)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@
+2008-01-18  Philip Van Hoof  <pvanhoof gnome org>
+
+	* camel-mime-utils.c: Small bug fix
+
 2008-01-16  Øystein Gisnås  <oystein gisnas net>
 
 	** Fix for bug #300098
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]