]> granicus.if.org Git - mutt/commitdiff
f=f: Don't kill signature separator when stripping trailing spaces. Closes #3275.
authorRocco Rutte <pdmef@gmx.net>
Sat, 20 Jun 2009 21:09:45 +0000 (23:09 +0200)
committerRocco Rutte <pdmef@gmx.net>
Sat, 20 Jun 2009 21:09:45 +0000 (23:09 +0200)
handler.c

index c11a6fbd944913319da551ddc379cad79731c705..384ec0e9fd4ff2bfb90dc74d99ca06777d861ad4 100644 (file)
--- 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;