changeset 860:eb14ea6e4f21

Don't stop wrapping when skipping text (in a failed conditional).
author Ben Schmidt
date Thu, 01 Mar 2012 03:42:50 +1100
parents 18fa95bcf19c
children 331115b58da4
files src/prepstdreply.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/prepstdreply.c	Thu Mar 01 03:34:33 2012 +1100
+++ b/src/prepstdreply.c	Thu Mar 01 03:42:50 2012 +1100
@@ -1209,7 +1209,8 @@
 			*pos = '\0';
 			pos = line;
 			while (*pos == ' ' || *pos == '\t') pos++;
-			if (*pos == '\r' || *pos == '\n' || *pos == '\0') {
+			if ((*pos == '\r' || *pos == '\n' || *pos == '\0') &&
+					txt->skip == NULL) {
 				/* Empty/white line; stop wrapping, finish
 				   the last line and save the empty/white
 				   line for later. */