Rocco Rutte:
[apps/madmutt.git] / 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