balsa r7939 - in trunk: . libbalsa



Author: PeterB
Date: Wed Jun  4 22:03:51 2008
New Revision: 7939
URL: http://svn.gnome.org/viewvc/balsa?rev=7939&view=rev

Log:
quote a flowed message as flowed

Modified:
   trunk/ChangeLog
   trunk/libbalsa/mime.c

Modified: trunk/libbalsa/mime.c
==============================================================================
--- trunk/libbalsa/mime.c	(original)
+++ trunk/libbalsa/mime.c	Wed Jun  4 22:03:51 2008
@@ -87,26 +87,27 @@
 	}
 #endif /* HAVE_GTKHTML */
 
-	if (llen > 0) {
-            if (flow && libbalsa_message_body_is_flowed(body)) {
-                /* we're making a `format=flowed' message, and the
-                 * message we're quoting was flowed
-                 *
-                 * we'll assume it's going to the screen */
-		gboolean delsp = libbalsa_message_body_is_delsp(body);
+        if (flow && libbalsa_message_body_is_flowed(body)) {
+            /* we're making a `format=flowed' message, and the
+             * message we're quoting was flowed
+             *
+             * we'll assume it's going to the screen */
+            gboolean delsp = libbalsa_message_body_is_delsp(body);
 
-		reply =
-		    libbalsa_process_text_rfc2646(res, G_MAXINT, FALSE,
-						  TRUE,
-						  reply_prefix_str != NULL,
-						  delsp);
-                g_free(res);
-                break;
-            }
+            reply =
+                libbalsa_process_text_rfc2646(res, G_MAXINT, FALSE, TRUE,
+                                              reply_prefix_str != NULL,
+                                              delsp);
+            g_free(res);
+            break;
+        }
+
+        if (llen > 0) {
 	    if (reply_prefix_str)
 		llen -= strlen(reply_prefix_str);
 	    libbalsa_wrap_string(res, llen);
 	}
+
         if (reply_prefix_str || flow) {
 	    gchar *str, *ptr;
 	    /* prepend the prefix to all the lines */



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