summaryrefslogtreecommitdiff
path: root/program/include/rcube_bc.inc
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-11-19 11:02:13 +0100
committerThomas Bruederli <thomas@roundcube.net>2012-11-19 11:02:13 +0100
commitc72a96144de1e5674159f4010ec0e44c9d946a5b (patch)
tree8385fbd77ce12e30613bec7ecf2ccaeb8fb5520f /program/include/rcube_bc.inc
parent6fa61759e2369f4702ecebe584c133f9d79e0d93 (diff)
Improve line wrapping behavior where message charset is changed by plugins (including html2plaintext conversion)
Diffstat (limited to 'program/include/rcube_bc.inc')
-rw-r--r--program/include/rcube_bc.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_bc.inc b/program/include/rcube_bc.inc
index 1894873e6..4130d4dc5 100644
--- a/program/include/rcube_bc.inc
+++ b/program/include/rcube_bc.inc
@@ -338,9 +338,9 @@ function show_bytes($bytes)
return rcmail::get_instance()->show_bytes($bytes);
}
-function rc_wordwrap($string, $width=75, $break="\n", $cut=false)
+function rc_wordwrap($string, $width=75, $break="\n", $cut=false, $charset=null)
{
- return rcube_mime::wordwrap($string, $width, $break, $cut);
+ return rcube_mime::wordwrap($string, $width, $break, $cut, $charset);
}
function rc_request_header($name)