ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/table/big5_ext.h
(Generate patch)

Comparing rxvt-unicode/src/table/big5_ext.h (file contents):
Revision 1.3 by pcg, Mon Mar 15 00:27:12 2004 UTC vs.
Revision 1.4 by root, Wed Aug 4 03:29:28 2004 UTC

2282 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, big5_ext_f_254, 2282 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, big5_ext_f_254,
2283 big5_ext_f_255 2283 big5_ext_f_255
2284}; 2284};
2285 2285
2286 2286
2287struct rxvt_codeset_conv_big5_ext : rxvt_codeset_conv {
2288 uint32_t from_unicode (unicode_t unicode) const { 2287static uint32_t cs_big5_ext_from_unicode (unicode_t unicode) {
2289 if (unicode <= 0x007f) return unicode; 2288 if (unicode <= 0x007f) return unicode;
2290 if (unicode == 0x2605) return 0xa1b9; 2289 if (unicode == 0x2605) return 0xa1b9;
2291 if (unicode == 0x2606) return 0xa1b8; 2290 if (unicode == 0x2606) return 0xa1b8;
2292 if (unicode == 0x2640) return 0xa1f0; 2291 if (unicode == 0x2640) return 0xa1f0;
2293 if (unicode == 0x2642) return 0xa1f1; 2292 if (unicode == 0x2642) return 0xa1f1;
2301 && big5_ext_f_i[h - 0x00]) 2300 && big5_ext_f_i[h - 0x00])
2302 return big5_ext_f_i[h - 0x00][l - 0x00] 2301 return big5_ext_f_i[h - 0x00][l - 0x00]
2303 ? big5_ext_f_i[h - 0x00][l - 0x00] 2302 ? big5_ext_f_i[h - 0x00][l - 0x00]
2304 : NOCHAR; 2303 : NOCHAR;
2305 return NOCHAR; 2304 return NOCHAR;
2306 } 2305}
2307} rxvt_codeset_conv_big5_ext;
2308 2306
2309#else 2307#else
2310 2308
2311#define rxvt_codeset_conv_big5_ext rxvt_codeset_conv_unknown 2309#define cs_big5_ext_from_unicode cs_unknown_from_unicode
2310#define cs_big5_ext_to_unicode cs_unknown_to_unicode
2312 2311
2313#endif 2312#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines