--- rxvt-unicode/src/table/iso8859_4.h 2004/03/15 00:27:13 1.3 +++ rxvt-unicode/src/table/iso8859_4.h 2004/08/04 03:29:29 1.4 @@ -22,8 +22,7 @@ 0x00, 0x00, 0xd9, 0xf9, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xae, 0xbe }; -struct rxvt_codeset_conv_iso8859_4 : rxvt_codeset_conv { - uint32_t from_unicode (unicode_t unicode) const { +static uint32_t cs_iso8859_4_from_unicode (unicode_t unicode) { if (unicode <= 0x009f) return unicode; if (unicode == 0x02c7) return 0x00b7; if (unicode == 0x02d9) return 0x00ff; @@ -33,11 +32,11 @@ if (0x0100 <= unicode && unicode <= 0x017e) return iso8859_4_f_256[unicode - 0x0100] == 0 ? NOCHAR : iso8859_4_f_256[unicode - 0x0100]; return NOCHAR; - } -} rxvt_codeset_conv_iso8859_4; +} #else -#define rxvt_codeset_conv_iso8859_4 rxvt_codeset_conv_unknown +#define cs_iso8859_4_from_unicode cs_unknown_from_unicode +#define cs_iso8859_4_to_unicode cs_unknown_to_unicode #endif