cvs: php-src /ext/mbstring/libmbfl/filters mbfilter_cp936.c

From: Date: Mon, 02 Feb 2009 04:49:48 +0000
Subject: cvs: php-src /ext/mbstring/libmbfl/filters mbfilter_cp936.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-56060@lists.php.net to get a copy of this message
moriyoshi Mon Feb 2 04:49:48 2009 UTC Modified files: /php-src/ext/mbstring/libmbfl/filters mbfilter_cp936.c Log: - Fix bug #46843 (CP936 euro symbol is not converted properly) http://cvs.php.net/viewvc.cgi/php-src/ext/mbstring/libmbfl/filters/mbfilter_cp936.c?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/mbstring/libmbfl/filters/mbfilter_cp936.c diff -u php-src/ext/mbstring/libmbfl/filters/mbfilter_cp936.c:1.1 php-src/ext/mbstring/libmbfl/filters/mbfilter_cp936.c:1.2 --- php-src/ext/mbstring/libmbfl/filters/mbfilter_cp936.c:1.1 Sat Aug 23 06:18:36 2003 +++ php-src/ext/mbstring/libmbfl/filters/mbfilter_cp936.c Mon Feb 2 04:49:48 2009 @@ -192,7 +192,7 @@ } } if (s >= 0) { - if (s < 0x80) { /* latin */ + if (s <= 0x80) { /* latin */ CK((*filter->output_function)(s, filter->data)); } else { CK((*filter->output_function)((s >> 8) & 0xff, filter->data));

« previous php.cvs (#56060) next »