--- rxvt-unicode/src/table/gb2312_1980_0.h 2004/08/04 03:29:28 1.4 +++ rxvt-unicode/src/table/gb2312_1980_0.h 2015/04/11 18:27:25 1.6 @@ -1,7 +1,7 @@ // // AUTOMATICALLLY GENERATED by gentables // -#ifdef ENCODING_CN +#ifdef ENCODING_ZH static const uint16_t gb2312_1980_0_f_0[] = { 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, @@ -2199,8 +2199,8 @@ if (unicode == 0x2606) return 0x216e; if (unicode == 0x2640) return 0x2162; if (unicode == 0x2642) return 0x2161; - if (unicode <= 0x3105 && 0x3129 <= unicode) return unicode - 0x08c0; - if (unicode <= 0x3220 && 0x3229 <= unicode) return unicode - 0x0fbb; + if (unicode >= 0x3105 && 0x3129 >= unicode) return unicode - 0x08c0; + if (unicode >= 0x3220 && 0x3229 >= unicode) return unicode - 0x0fbb; if (unicode == 0x9274) return 0x3c78; if (unicode == 0x928e) return 0x7646; if (unicode == 0x92ae) return 0x7647;