evolution r35898 - trunk/mail



Author: msuman
Date: Mon Aug  4 03:49:36 2008
New Revision: 35898
URL: http://svn.gnome.org/viewvc/evolution?rev=35898&view=rev

Log:
Patch from Paul Bolle  <pebolle tiscali nl>: Fix related to bug #539268 (Do not append description if it is just an empty string).

Modified:
   trunk/mail/ChangeLog
   trunk/mail/em-format.c

Modified: trunk/mail/em-format.c
==============================================================================
--- trunk/mail/em-format.c	(original)
+++ trunk/mail/em-format.c	Mon Aug  4 03:49:36 2008
@@ -1159,6 +1159,7 @@
 	if ((filename = camel_mime_part_get_filename (part)))
 		g_string_append_printf(stext, " (%s)", filename);
 	if ((description = camel_mime_part_get_description(part)) &&
+		(*description != 0) &&
 		!(filename && (strcmp(filename, description) == 0)))
 		g_string_append_printf(stext, ", \"%s\"", description);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]