X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=handler.c;h=cd2b1c5884e072b024c6dc77d22b31a83404bc90;hp=2378388a0ac08c9e94aa7cecd600e909f0373c1a;hb=c97c29afb910fc6b5fadbe15452dad185570be9b;hpb=f5b0e714a215eddd4d9f8084b434b713f0a580b4 diff --git a/handler.c b/handler.c index 2378388..cd2b1c5 100644 --- 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