Permalink
Browse files

Improve text wrapping in replies

  • Loading branch information...
1 parent c0aedfa commit 248d781e5f2caa26b4608d6de572e5a143321a91 @thomascube thomascube committed Aug 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 = '';

0 comments on commit 248d781

Please sign in to comment.