Moriyoshi Koizumi
moriy****@users*****
2004年 2月 4日 (水) 16:18:46 JST
moriyoshi 04/02/04 16:18:46 Modified: mbfl Tag: LIBMBFL_1_0 mbfilter.c Log: - Another typo. Revision Changes Path No revision No revision 1.8.2.9 +2 -2 libmbfl/mbfl/mbfilter.c Index: mbfilter.c =================================================================== RCS file: /cvsroot/php-i18n/libmbfl/mbfl/mbfilter.c,v retrieving revision 1.8.2.8 retrieving revision 1.8.2.9 diff -u -r1.8.2.8 -r1.8.2.9 --- mbfilter.c 4 Feb 2004 07:05:02 -0000 1.8.2.8 +++ mbfilter.c 4 Feb 2004 07:18:45 -0000 1.8.2.9 @@ -558,7 +558,7 @@ bad++; } } - if ((num - 1) <= bad && strict) { + if ((num - 1) <= bad && !strict) { break; } p++; @@ -569,7 +569,7 @@ /* judge */ encoding = NULL; - i = num; while (--i >= 0) { + for (i = 0; i < num; i++) { filter = &flist[i]; if (!filter->flag) { encoding = filter->encoding;