Created
October 1, 2013 09:18
-
-
Save mrvdb/6775872 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/quote_fmt_parse.y | |
=================================================================== | |
RCS file: //claws/src/quote_fmt_parse.y,v | |
retrieving revision 1.22.2.41 | |
diff -u -r1.22.2.41 quote_fmt_parse.y | |
--- src/quote_fmt_parse.y 16 Sep 2008 12:22:12 -0000 1.22.2.41 | |
+++ src/quote_fmt_parse.y 26 Oct 2009 19:29:41 -0000 | |
@@ -461,9 +461,14 @@ | |
if (!signature && strncmp(buf, "-- \n", 4) == 0) | |
break; | |
- if (quoted && quote_str) | |
+ if (quoted && quote_str) { | |
INSERT(quote_str); | |
- | |
+ /* If the buf does not start with quote_str (earlier quote), | |
+ insert a space to separate quote marks from text */ | |
+ if(strncmp(buf,quote_str,strlen(quote_str) != 0)) { | |
+ INSERT(" "); | |
+ } | |
+ } | |
INSERT(buf); | |
} | |
fclose(fp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment