projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de0ba6f
)
Fix longstanding typos in unicode3 preprocessor conditionals.
author
ayin
<ayin>
Fri, 28 Dec 2007 11:02:31 +0000
(11:02 +0000)
committer
ayin
<ayin>
Fri, 28 Dec 2007 11:02:31 +0000
(11:02 +0000)
src/command.C
patch
|
blob
|
history
src/rxvt.h
patch
|
blob
|
history
diff --git
a/src/command.C
b/src/command.C
index
dbfe987
..
b0481be
100644
(file)
--- 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
4926325
..
05bc3ff
100644
(file)
--- 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)