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

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

208 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, cns11643_1992_f_f_124, 0, 0, 0, 0, 0, 0, 208 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, cns11643_1992_f_f_124, 0, 0, 0, 0, 0, 0,
209 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, cns11643_1992_f_f_143, 0, 0, 0, cns11643_1992_f_f_147 209 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, cns11643_1992_f_f_143, 0, 0, 0, cns11643_1992_f_f_147
210}; 210};
211 211
212 212
213struct rxvt_codeset_conv_cns11643_1992_f : rxvt_codeset_conv { 213static uint32_t cs_cns11643_1992_f_from_unicode (unicode_t unicode) {
214 uint32_t from_unicode (unicode_t unicode) const {
215 if (unicode == 0x3406) return 0x216c; 214 if (unicode == 0x3406) return 0x216c;
216 if (unicode == 0x3436) return 0x2144; 215 if (unicode == 0x3436) return 0x2144;
217 if (unicode == 0x343e) return 0x2172; 216 if (unicode == 0x343e) return 0x2172;
218 if (unicode == 0x3453) return 0x254a; 217 if (unicode == 0x3453) return 0x254a;
219 if (unicode == 0x34ac) return 0x265a; 218 if (unicode == 0x34ac) return 0x265a;
400 && cns11643_1992_f_f_i[h - 0x36]) 399 && cns11643_1992_f_f_i[h - 0x36])
401 return cns11643_1992_f_f_i[h - 0x36][l - 0x0e] 400 return cns11643_1992_f_f_i[h - 0x36][l - 0x0e]
402 ? cns11643_1992_f_f_i[h - 0x36][l - 0x0e] 401 ? cns11643_1992_f_f_i[h - 0x36][l - 0x0e]
403 : NOCHAR; 402 : NOCHAR;
404 return NOCHAR; 403 return NOCHAR;
405 } 404}
406} rxvt_codeset_conv_cns11643_1992_f;
407 405
408#else 406#else
409 407
410#define rxvt_codeset_conv_cns11643_1992_f rxvt_codeset_conv_unknown 408#define cs_cns11643_1992_f_from_unicode cs_unknown_from_unicode
409#define cs_cns11643_1992_f_to_unicode cs_unknown_to_unicode
411 410
412#endif 411#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines