Moriyoshi Koizumi
moriy****@users*****
2004年 2月 4日 (水) 15:36:43 JST
moriyoshi 04/02/04 15:36:43 Modified: mbfl Tag: LIBMBFL_1_0 mbfilter.c Log: - BC stuff. Revision Changes Path No revision No revision 1.8.2.7 +2 -2 libmbfl/mbfl/mbfilter.c Index: mbfilter.c =================================================================== RCS file: /cvsroot/php-i18n/libmbfl/mbfl/mbfilter.c,v retrieving revision 1.8.2.6 retrieving revision 1.8.2.7 diff -u -r1.8.2.6 -r1.8.2.7 --- mbfilter.c 4 Feb 2004 05:56:44 -0000 1.8.2.6 +++ mbfilter.c 4 Feb 2004 06:36:43 -0000 1.8.2.7 @@ -559,7 +559,7 @@ } i++; } - if ((num - 1) <= bad) { + if ((num - 1) <= bad && strict) { break; } p++; @@ -570,7 +570,7 @@ /* judge */ encoding = NULL; - for (i = 0; i < num; i++) { + i = num; while (--i >= 0) { filter = &flist[i]; if (!filter->flag) { encoding = filter->encoding;