From 27e1b6dd56de5ebdded940faa5c8a1ac531e7811 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Tue, 14 Aug 2012 12:20:02 +0200 Subject: Improve text wrapping in replies --- program/steps/mail/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 5fc883b6e..0eb8c773d 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1435,7 +1435,7 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null, function rcmail_wrap_and_quote($text, $length = 72) { // Rebuild the message body with a maximum of $max chars, while keeping quoted message. - $max = min(77, $length + 8); + $max = max(75, $length + 8); $lines = preg_split('/\r?\n/', trim($text)); $out = ''; -- cgit v1.2.3