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

Comparing rxvt-unicode/src/table/iso8859_4.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:29 2004 UTC

20 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa3, 0xb3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 20 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa3, 0xb3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
21 0xa9, 0xb9, 0x00, 0x00, 0x00, 0x00, 0xac, 0xbc, 0xdd, 0xfd, 0xde, 0xfe, 0x00, 0x00, 0x00, 0x00, 21 0xa9, 0xb9, 0x00, 0x00, 0x00, 0x00, 0xac, 0xbc, 0xdd, 0xfd, 0xde, 0xfe, 0x00, 0x00, 0x00, 0x00,
22 0x00, 0x00, 0xd9, 0xf9, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xae, 0xbe 22 0x00, 0x00, 0xd9, 0xf9, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xae, 0xbe
23}; 23};
24 24
25struct rxvt_codeset_conv_iso8859_4 : rxvt_codeset_conv {
26 uint32_t from_unicode (unicode_t unicode) const { 25static uint32_t cs_iso8859_4_from_unicode (unicode_t unicode) {
27 if (unicode <= 0x009f) return unicode; 26 if (unicode <= 0x009f) return unicode;
28 if (unicode == 0x02c7) return 0x00b7; 27 if (unicode == 0x02c7) return 0x00b7;
29 if (unicode == 0x02d9) return 0x00ff; 28 if (unicode == 0x02d9) return 0x00ff;
30 if (unicode == 0x02db) return 0x00b2; 29 if (unicode == 0x02db) return 0x00b2;
31 if (0x00a0 <= unicode && unicode <= 0x00fc) 30 if (0x00a0 <= unicode && unicode <= 0x00fc)
32 return iso8859_4_f_0[unicode - 0x00a0] == 0 ? NOCHAR : iso8859_4_f_0[unicode - 0x00a0]; 31 return iso8859_4_f_0[unicode - 0x00a0] == 0 ? NOCHAR : iso8859_4_f_0[unicode - 0x00a0];
33 if (0x0100 <= unicode && unicode <= 0x017e) 32 if (0x0100 <= unicode && unicode <= 0x017e)
34 return iso8859_4_f_256[unicode - 0x0100] == 0 ? NOCHAR : iso8859_4_f_256[unicode - 0x0100]; 33 return iso8859_4_f_256[unicode - 0x0100] == 0 ? NOCHAR : iso8859_4_f_256[unicode - 0x0100];
35 return NOCHAR; 34 return NOCHAR;
36 } 35}
37} rxvt_codeset_conv_iso8859_4;
38 36
39#else 37#else
40 38
41#define rxvt_codeset_conv_iso8859_4 rxvt_codeset_conv_unknown 39#define cs_iso8859_4_from_unicode cs_unknown_from_unicode
40#define cs_iso8859_4_to_unicode cs_unknown_to_unicode
42 41
43#endif 42#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines