diff options
author | Wez Furlong <wez@php.net> | 2001-08-29 11:29:52 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2001-08-29 11:29:52 +0000 |
commit | e6c7f6f22cb774b6eb39593ec07303c5f09cf85f (patch) | |
tree | 731c88f2f40f419211b1a0ac68fa2da4ebe7b01a /ext/mbstring | |
parent | f824bf94f3dd71c83e59da6e73bbf30a8d517a54 (diff) | |
download | php-git-e6c7f6f22cb774b6eb39593ec07303c5f09cf85f.tar.gz |
fix bug# 13017 - patch from tsukada@fminn.nagano.nagano.jp
Diffstat (limited to 'ext/mbstring')
-rw-r--r-- | ext/mbstring/mbfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/mbfilter.c b/ext/mbstring/mbfilter.c index e5c896a087..00321673b9 100644 --- a/ext/mbstring/mbfilter.c +++ b/ext/mbstring/mbfilter.c @@ -7061,10 +7061,10 @@ mbfl_strimwidth( n = string->len; if (p != NULL) { while (n > 0) { + n--; if ((*encoder->filter_function)(*p++, encoder) < 0) { break; } - n--; } mbfl_convert_filter_flush(encoder); if (pc.status != 0 && mkwidth > 0) { |