summaryrefslogtreecommitdiffstats
path: root/handler.c
diff options
context:
space:
mode:
authorRocco Rutte <pdmef@gmx.net>2009-06-20 23:09:45 +0200
committerRocco Rutte <pdmef@gmx.net>2009-06-20 23:09:45 +0200
commit3b6195603133daac775fb2a2c39eecc80c8123de (patch)
tree216af15a3879724bffad2248f9369bc47f9bb4ee /handler.c
parentf25026969d34bfe0024a628283f9305bfe8739e0 (diff)
f=f: Don't kill signature separator when stripping trailing spaces. Closes #3275.
Diffstat (limited to 'handler.c')
-rw-r--r--handler.c2
1 files changed, 1 insertions, 1 deletions
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;