Fix longstanding typos in unicode3 preprocessor conditionals.
authorayin <ayin>
Fri, 28 Dec 2007 11:02:31 +0000 (11:02 +0000)
committerayin <ayin>
Fri, 28 Dec 2007 11:02:31 +0000 (11:02 +0000)
src/command.C
src/rxvt.h

index dbfe987..b0481be 100644 (file)
@@ -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
index 4926325..05bc3ff 100644 (file)
@@ -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)