- fix rc_wordwrap() (#1485909)

release-0.6
alecpl 15 years ago
parent 6ca8274e5a
commit 78ebe75bce

@ -425,7 +425,7 @@ function rc_wordwrap($string, $width=75, $break="\n", $cut=false)
if ($newlen <= $width) {
$string .= ($len ? ' ' : '').$line;
$len += ($len ? 1 : 0) + $l;
$len += (1 + $l);
} else {
if ($l > $width) {
if ($cut) {

Loading…
Cancel
Save