summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-23 08:59:27 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-23 09:00:41 +0200
commit20df06be5debd2dcfb871f0da9c3eef9d878a6a5 (patch)
tree0431a4c12874a0b7f1060fee678e56f1a85e7934 /program/lib
parent656005f056030b278aa96047f405bb802644a516 (diff)
Fix another text wrapping issue (wrong handling of long unwrappable lines)
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/Roundcube/rcube_mime.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube_mime.php b/program/lib/Roundcube/rcube_mime.php
index d413c0a7e..5258af5bf 100644
--- a/program/lib/Roundcube/rcube_mime.php
+++ b/program/lib/Roundcube/rcube_mime.php
@@ -658,6 +658,10 @@ class rcube_mime
$subString = $substr_func($subString, 0, $spacePos, $charset);
$cutLength = $spacePos + 1;
}
+ else if ($cut === false && $breakPos === false) {
+ $subString = $string;
+ $cutLength = null;
+ }
else if ($cut === false) {
$spacePos = $strpos_func($string, ' ', 0, $charset);