evolution r37175 - trunk/mail



Author: sragavan
Date: Thu Jan 29 16:08:17 2009
New Revision: 37175
URL: http://svn.gnome.org/viewvc/evolution?rev=37175&view=rev

Log:
2009-01-29  Srinivasa Ragavan  <sragavan novell com>

	* em-format.c: (em_format_format_text): Handle empty messages well.


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	Thu Jan 29 16:08:17 2009
@@ -1124,7 +1124,7 @@
 	camel_object_unref(filter_stream);
 	camel_stream_reset (mem_stream);
 
-	if (max == -1 || size < (max * 1024) || emf->composer) {
+	if (max == -1 || size == -1 || size < (max * 1024) || emf->composer) {
 		camel_stream_write_to_stream(mem_stream, (CamelStream *)stream);
 		camel_stream_flush((CamelStream *)stream);
 	} else {



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