[Commits] [SCM] claws branch, master, updated. 3.16.0-190-g494fd9e

wwp at claws-mail.org wwp at claws-mail.org
Wed Jun 6 21:17:08 CEST 2018


The branch, master has been updated
       via  494fd9e4405ad4779719618a9e224ea65c0c02b8 (commit)
      from  6a413b886d2691ec1dafc191823800724e5a1cc0 (commit)

Summary of changes:
 src/procmime.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 494fd9e4405ad4779719618a9e224ea65c0c02b8
Author: wwp <wwp at free.fr>
Date:   Wed Jun 6 21:16:21 2018 +0200

    Honor quote_chars from prefs instead of hard-coding "> ".

diff --git a/src/procmime.c b/src/procmime.c
index 76ee317..080f27c 100644
--- a/src/procmime.c
+++ b/src/procmime.c
@@ -294,7 +294,7 @@ static int procmime_fclose(FILE *fp)
 		strretchomp(lastline);						\
 		llen = strlen(lastline);					\
 		if (lastline[llen-1] == ' ' && strcmp(lastline,"-- ") &&	\
-		    strcmp(lastline,"> ")) {					\
+		    !(llen == 2 && lastline[1] == ' ' && strchr(prefs_common.quote_chars, lastline[0]))) {					\
 			/* this is flowed */					\
 			if (delsp)						\
 				lastline[llen-1] = '\0';			\

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list