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:
5b39385
)
*** empty log message ***
author
root
<root>
Thu, 1 Apr 2010 00:13:04 +0000
(
00:13
+0000)
committer
root
<root>
Thu, 1 Apr 2010 00:13:04 +0000
(
00:13
+0000)
src/rxvt.h
patch
|
blob
|
history
diff --git
a/src/rxvt.h
b/src/rxvt.h
index
9b530cf
..
8690c8f
100644
(file)
--- a/
src/rxvt.h
+++ b/
src/rxvt.h
@@
-308,11
+308,7
@@
enum {
#define RS_None 0
-#ifndef USE_256_COLORS
-#define RS_colorMask 0x0000007fUL // 128 colors
-#else
-#define RS_colorMask 0x000001ffUL
-#endif
+#define RS_colorMask ((1UL << Color_Bits) - 1UL)
#define RS_fgShift 0
#define RS_bgShift Color_Bits
#define RS_fgMask (RS_colorMask << RS_fgShift)