--- rxvt-unicode/src/table/iso8859_1.h 2003/11/24 17:28:08 1.1 +++ rxvt-unicode/src/table/iso8859_1.h 2004/08/04 03:29:28 1.4 @@ -4,19 +4,14 @@ #ifdef ENCODING_DEFAULT -struct rxvt_codeset_conv_iso8859_1 : rxvt_codeset_conv { - uint32_t from_unicode (uint32_t unicode) const { +static uint32_t cs_iso8859_1_from_unicode (unicode_t unicode) { if (unicode <= 0x00ff) return unicode; return NOCHAR; - } - uint32_t to_unicode (uint32_t enc) const { - if (enc <= 0x00ff) return enc; - return NOCHAR; - } -} rxvt_codeset_conv_iso8859_1; +} #else -#define rxvt_codeset_conv_iso8859_1 rxvt_codeset_conv_unknown +#define cs_iso8859_1_from_unicode cs_unknown_from_unicode +#define cs_iso8859_1_to_unicode cs_unknown_to_unicode #endif