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

Comparing rxvt-unicode/src/table/jis0208_1990_0.h (file contents):
Revision 1.1 by pcg, Mon Mar 15 01:27:46 2004 UTC vs.
Revision 1.2 by root, Mon Jul 26 18:01:19 2004 UTC

2242struct rxvt_codeset_conv_jis0208_1990_0 : rxvt_codeset_conv { 2242struct rxvt_codeset_conv_jis0208_1990_0 : rxvt_codeset_conv {
2243 uint32_t from_unicode (unicode_t unicode) const { 2243 uint32_t from_unicode (unicode_t unicode) const {
2244 if (unicode == 0x2312) return 0x225e; 2244 if (unicode == 0x2312) return 0x225e;
2245 uint8_t l = unicode; 2245 uint8_t l = unicode;
2246 uint16_t h = unicode >> 8; 2246 uint16_t h = unicode >> 8;
2247 if (0x00 <= h && h <= 0xff 2247 if (h <= 0xff
2248 && 0x00 <= l && l <= 0xff 2248 && l <= 0xff
2249 && jis0208_1990_0_f_i[h - 0x00]) 2249 && jis0208_1990_0_f_i[h - 0x00])
2250 return jis0208_1990_0_f_i[h - 0x00][l - 0x00] 2250 return jis0208_1990_0_f_i[h - 0x00][l - 0x00]
2251 ? jis0208_1990_0_f_i[h - 0x00][l - 0x00] 2251 ? jis0208_1990_0_f_i[h - 0x00][l - 0x00]
2252 : NOCHAR; 2252 : NOCHAR;
2253 return NOCHAR; 2253 return NOCHAR;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines