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

Comparing rxvt-unicode/src/table/iso8859_6.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

9 0xcc, 0xcd, 0xce, 0xcf, 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0x00, 9 0xcc, 0xcd, 0xce, 0xcf, 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0x00,
10 0x00, 0x00, 0x00, 0x00, 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb, 10 0x00, 0x00, 0x00, 0x00, 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb,
11 0xec, 0xed, 0xee, 0xef, 0xf0, 0xf1, 0xf2 11 0xec, 0xed, 0xee, 0xef, 0xf0, 0xf1, 0xf2
12}; 12};
13 13
14struct rxvt_codeset_conv_iso8859_6 : rxvt_codeset_conv {
15 uint32_t from_unicode (unicode_t unicode) const { 14static uint32_t cs_iso8859_6_from_unicode (unicode_t unicode) {
16 if (unicode <= 0x009f) return unicode; 15 if (unicode <= 0x009f) return unicode;
17 if (unicode == 0x00a0) return 0x00a0; 16 if (unicode == 0x00a0) return 0x00a0;
18 if (unicode == 0x00a4) return 0x00a4; 17 if (unicode == 0x00a4) return 0x00a4;
19 if (unicode == 0x00ad) return 0x00ad; 18 if (unicode == 0x00ad) return 0x00ad;
20 if (0x060c <= unicode && unicode <= 0x0652) 19 if (0x060c <= unicode && unicode <= 0x0652)
21 return iso8859_6_f_1536[unicode - 0x060c] == 0 ? NOCHAR : iso8859_6_f_1536[unicode - 0x060c]; 20 return iso8859_6_f_1536[unicode - 0x060c] == 0 ? NOCHAR : iso8859_6_f_1536[unicode - 0x060c];
22 return NOCHAR; 21 return NOCHAR;
23 } 22}
24} rxvt_codeset_conv_iso8859_6;
25 23
26#else 24#else
27 25
28#define rxvt_codeset_conv_iso8859_6 rxvt_codeset_conv_unknown 26#define cs_iso8859_6_from_unicode cs_unknown_from_unicode
27#define cs_iso8859_6_to_unicode cs_unknown_to_unicode
29 28
30#endif 29#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines