talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 494fd9e4405ad4779719618a9e224ea65c0c02b8
parent 6a413b886d2691ec1dafc191823800724e5a1cc0
Author: wwp <wwp@free.fr>
Date:   Wed,  6 Jun 2018 21:16:21 +0200

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

Diffstat:
Msrc/procmime.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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'; \