From 27e1b6dd56de5ebdded940faa5c8a1ac531e7811 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Tue, 14 Aug 2012 06:20:25 -0400 Subject: [PATCH] Improve text wrapping in replies --- program/steps/mail/func.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 5fc883b..0eb8c77 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1435,7 +1435,7 @@ 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 = ''; -- Gitblit v1.9.1