]> granicus.if.org Git - php/commitdiff
Changed & to &&.
authorFrank M. Kromann <fmk@php.net>
Thu, 2 May 2002 17:54:54 +0000 (17:54 +0000)
committerFrank M. Kromann <fmk@php.net>
Thu, 2 May 2002 17:54:54 +0000 (17:54 +0000)
ext/mbstring/mbfilter_tw.c

index 1ff226b13458743fac5e3f2582f2a1d82d999627..720abedee3edbce030e9acdccceb5ce3cf58be17 100644 (file)
@@ -128,10 +128,10 @@ mbfl_filt_conv_euctw_wchar(int c, mbfl_convert_filter *filter TSRMLS_DC)
                        s = (c1 & 0xff)*94 + c - 0xa1;
                        w = 0;
                        if (s >= 0) {
-                               if (plane == 1 & s < cns11643_2_ucs_table_size) {
+                               if (plane == 1 && s < cns11643_2_ucs_table_size) {
                                        w = cns11643_2_ucs_table[s];
                                }
-                               if (plane == 13 & s < cns11643_14_ucs_table_size) {
+                               if (plane == 13 && s < cns11643_14_ucs_table_size) {
                                        w = cns11643_14_ucs_table[s];
                                }
                        }