From: Rocco Rutte Date: Sat, 20 Jun 2009 21:09:45 +0000 (+0200) Subject: f=f: Don't kill signature separator when stripping trailing spaces. Closes #3275. X-Git-Tag: mutt-1-5-21-rel~220 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b6195603133daac775fb2a2c39eecc80c8123de;p=mutt f=f: Don't kill signature separator when stripping trailing spaces. Closes #3275. --- diff --git a/handler.c b/handler.c index c11a6fbd..384ec0e9 100644 --- a/handler.c +++ b/handler.c @@ -1500,7 +1500,7 @@ static int text_plain_handler (BODY *b, STATE *s) l = mutt_strlen (buf); if (l > 0 && buf[l-1] == '\n') buf[--l] = 0; - if (option (OPTTEXTFLOWED)) + if (mutt_strcmp (buf, "-- ") != 0 && option (OPTTEXTFLOWED)) { while (l > 0 && buf[l-1] == ' ') buf[--l] = 0;