commit 845a1ee156c662e8f9245beb27f405d1ac49882c
parent 29ce3575e56789547ee612df02e331f2f2476f28
Author: wwp <wwp@free.fr>
Date: Wed, 6 Jun 2018 21:16:21 +0200
Honor quote_chars from prefs instead of hard-coding "> ".
Diffstat:
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'; \