--- rxvt-unicode/src/encoding.h 2006/01/20 22:49:34 1.15 +++ rxvt-unicode/src/encoding.h 2008/11/05 14:43:54 1.17 @@ -65,10 +65,11 @@ enum { ZERO_WIDTH_CHAR = 0x200b, REPLACEMENT_CHAR = 0xfffd, - NOCHAR = 0xfffe, // 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); };