From: Andi Gutmans Date: Mon, 26 Feb 2001 15:49:38 +0000 (+0000) Subject: - Fix whitespace X-Git-Tag: php-4.0.5RC1~157 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7fbdc8331853e7660fc01153a3ae4915f51c67f6;p=php - Fix whitespace --- diff --git a/ext/standard/string.c b/ext/standard/string.c index a2ed4fd857..77172441f3 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -378,7 +378,7 @@ PHP_FUNCTION(wordwrap) l = 0; while (newtext[i+l] != breakchar[0]) { if (newtext[i+l] == '\0') { - l --; + l--; break; } l++; @@ -392,7 +392,7 @@ PHP_FUNCTION(wordwrap) newtext[i+l] = breakchar[0]; break; } - l --; + l--; } if (l == -1) { /* couldn't break is backwards, try looking forwards */ @@ -402,7 +402,7 @@ PHP_FUNCTION(wordwrap) newtext[i+l] = breakchar[0]; break; } - l ++; + l++; } } } @@ -425,7 +425,7 @@ PHP_FUNCTION(wordwrap) if (breakcharlen == 1 || strncmp(text+i+l, breakchar, breakcharlen)==0) break; } - l ++; + l++; } if (l >= linelength) { pgr = l; @@ -439,7 +439,7 @@ PHP_FUNCTION(wordwrap) last = i + l + 1; break; } - l --; + l--; } if (l == -1) { /* couldn't break it backwards, try looking forwards */ @@ -463,7 +463,7 @@ PHP_FUNCTION(wordwrap) break; } } - l ++; + l++; } } i += l+1;