--- rxvt-unicode/src/encoding.h 2004/12/10 19:55:55 1.14 +++ rxvt-unicode/src/encoding.h 2008/11/05 14:43:54 1.17 @@ -63,12 +63,13 @@ codeset codeset_from_name (const char *name); enum { - ZERO_WIDTH_CHAR = 0x200b, + ZERO_WIDTH_CHAR = 0x200b, REPLACEMENT_CHAR = 0xfffd, - NOCHAR = 65535, // must be invalid in ANY codeset (!) + NOCHAR = 0xffff, // must be invalid in ANY codeset (!) }; -struct rxvt_codeset_conv { +struct rxvt_codeset_conv +{ uint32_t (*from_unicode) (unicode_t unicode); #if ENCODING_TO_UNICODE unicode_t (*to_unicode) (uint32_t enc); @@ -82,7 +83,8 @@ #define FROM_UNICODE(cs,code) rxvt_codeset[cs].from_unicode (code) #define TO_UNICODE(cs,code) rxvt_codeset[cs].to_unicode (code) -struct unicode { // namespace für arme +struct unicode // namespace für arme +{ static bool is_space (unicode_t c); };