balsa r7957 - in trunk: . src
- From: PeterB svn gnome org
- To: svn-commits-list gnome org
- Subject: balsa r7957 - in trunk: . src
- Date: Wed, 20 Aug 2008 13:06:02 +0000 (UTC)
Author: PeterB
Date: Wed Aug 20 13:06:02 2008
New Revision: 7957
URL: http://svn.gnome.org/viewvc/balsa?rev=7957&view=rev
Log:
remove whitespace preceding a hard newline when format=flowed
Modified:
trunk/ChangeLog
trunk/src/sendmsg-window.c
Modified: trunk/src/sendmsg-window.c
==============================================================================
--- trunk/src/sendmsg-window.c (original)
+++ trunk/src/sendmsg-window.c Wed Aug 20 13:06:02 2008
@@ -5549,8 +5549,11 @@
body = libbalsa_message_body_new(message);
/* Get the text from the buffer. First make sure it's wrapped. */
- if (!bsmsg->flow)
- sw_wrap_body(bsmsg);
+ /* Note: if bmsmg->flow, sw_wrap_body just uses
+ * libbalsa_unwrap_buffer to unwrap each paragraph, removing
+ * whitespace before any hard newline, and does not really wrap the
+ * buffer. */
+ sw_wrap_body(bsmsg);
/* Copy it to buffer2, so we can change it without changing the
* display. */
#if HAVE_GTKSOURCEVIEW
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]