evolution r37174 - branches/gnome-2-24/mail



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

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

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


Modified:
   branches/gnome-2-24/mail/ChangeLog
   branches/gnome-2-24/mail/em-format.c

Modified: branches/gnome-2-24/mail/em-format.c
==============================================================================
--- branches/gnome-2-24/mail/em-format.c	(original)
+++ branches/gnome-2-24/mail/em-format.c	Thu Jan 29 16:07:38 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]