projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Warning removal "a la Tyler"
[squirrelmail.git]
/
functions
/
strings.php
diff --git
a/functions/strings.php
b/functions/strings.php
index 4481bd6ba5643f53cff2b3dafc25b5cb973084dc..722cedeca8bae5ddf2dac4cf28ee1cb3db17b2d4 100644
(file)
--- a/
functions/strings.php
+++ b/
functions/strings.php
@@
-209,8
+209,9
@@
function translateText(&$body, $wrap_at, $charset) {
$Quotes = 0;
$pos = 0;
+ $j = strlen( $line );
- while ( $
line <> ''
) {
+ while ( $
pos < $j
) {
if ($line[$pos] == ' ') {
$pos ++;
} else if (strpos($line, '>', $pos) === $pos) {