Moriyoshi Koizumi
moriy****@users*****
2005年 4月 13日 (水) 17:11:58 JST
moriyoshi 05/04/13 17:11:58 Modified: mbfl Tag: LIBMBFL_1_0 mbfilter.c Log: - Restore mbfl_identify_encoding() behaviour, which I broke in the previous patchset. Revision Changes Path No revision No revision 1.8.2.14 +1 -1 libmbfl/mbfl/mbfilter.c Index: mbfilter.c =================================================================== RCS file: /cvsroot/php-i18n/libmbfl/mbfl/mbfilter.c,v retrieving revision 1.8.2.13 retrieving revision 1.8.2.14 diff -u -r1.8.2.13 -r1.8.2.14 --- mbfilter.c 23 Mar 2005 23:21:18 -0000 1.8.2.13 +++ mbfilter.c 13 Apr 2005 08:11:58 -0000 1.8.2.14 @@ -571,7 +571,7 @@ /* judge */ encoding = NULL; - for (i = 0; i < num; i++) { + for (i = num; --i >= 0;) { filter = &flist[i]; if (!filter->flag) { encoding = filter->encoding;