]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
Don't stop wrapping when skipping text (in a failed conditional).
authorBen Schmidt <none@none>
Wed, 29 Feb 2012 16:42:50 +0000 (03:42 +1100)
committerBen Schmidt <none@none>
Wed, 29 Feb 2012 16:42:50 +0000 (03:42 +1100)
src/prepstdreply.c

index dbe736f05f735fa7a0707d59f4ce87ddc3ec2a59..b499f8dd65550190d15c54840f334cdc47642f47 100644 (file)
@@ -1209,7 +1209,8 @@ char *get_processed_text_line(text *txt, int headers,
                        *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. */