Rocco Rutte:
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sat, 13 Aug 2005 20:47:37 +0000 (20:47 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Sat, 13 Aug 2005 20:47:37 +0000 (20:47 +0000)
- fix bug for F=F display introduced when fixing last

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@400 e385b8ad-14ed-0310-8656-cc95a2468c6d

handler.c

index 2378388..cd2b1c5 100644 (file)
--- a/handler.c
+++ b/handler.c
@@ -912,7 +912,7 @@ static int text_plain_flowed_handler (BODY * a, STATE * s)
     newql = get_quote_level (buf);
 
     if (bytes == 0 || ((t = strrchr (buf, '\n')) || (t = strrchr (buf, '\r')))) {
-      if (t)
+      if (bytes > 0)
         *t = '\0';
       if (str_len (curline) > 0 && curline[str_len (curline) - 1] == ' '
           && newql == quotelevel