summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-08-14 12:20:02 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-08-14 12:20:25 +0200
commit27e1b6dd56de5ebdded940faa5c8a1ac531e7811 (patch)
treea5315d2412f598b53672e56d63b797ca186c77fc /program
parent8912cf0696db08f0247778614749f083e7698842 (diff)
Improve text wrapping in replies
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
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 = '';