mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix bug# 13017 - patch from tsukada@fminn.nagano.nagano.jp
This commit is contained in:
parent
f824bf94f3
commit
e6c7f6f22c
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue