summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
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:02 +0200
commit248d781e5f2caa26b4608d6de572e5a143321a91 (patch)
tree6f0a6c44821aaaf2c3d60ec710bd2019ee6da37f /program/steps/mail/func.inc
parentc0aedfa34a641d5116ae8b8d5c1009c54ffee3b0 (diff)
Improve text wrapping in replies
Diffstat (limited to 'program/steps/mail/func.inc')
-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 b2f81d73c..3d65eacb1 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1488,7 +1488,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 = '';