From: ayin Date: Fri, 28 Dec 2007 11:02:31 +0000 (+0000) Subject: Fix longstanding typos in unicode3 preprocessor conditionals. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=c1b00ba0afa8041ab1be6bca3a518512a656f618;p=dana%2Furxvt.git Fix longstanding typos in unicode3 preprocessor conditionals. --- diff --git a/src/command.C b/src/command.C index dbfe9877..b0481be8 100644 --- a/src/command.C +++ b/src/command.C @@ -222,7 +222,7 @@ rxvt_term::iso14755_51 (unicode_t ch, rend_t r, int x, int y) sprintf (buf, "%8x", ch); scr_overlay_set (0, y, buf); scr_overlay_set (9, y, '='); -# if !UNICODE3 +# if !UNICODE_3 if (ch >= 0x10000) ch = 0xfffd; # endif diff --git a/src/rxvt.h b/src/rxvt.h index 49263253..05bc3ff1 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -794,7 +794,7 @@ struct mbstate { #define UNICODE_MASK 0x1fffffUL -#if UNICODE3 +#if UNICODE_3 # define COMPOSE_LO 0x40000000UL # define COMPOSE_HI 0x400fffffUL # define IS_COMPOSE(n) ((int32_t)(n) >= COMPOSE_LO)