*** empty log message ***
[dana/urxvt.git] / src / rxvt.h
index 889d4ea..8690c8f 100644 (file)
@@ -308,7 +308,7 @@ enum {
 
 #define RS_None                 0
 
-#define RS_colorMask           0x0000007fUL    // 128 colors
+#define RS_colorMask           ((1UL << Color_Bits) - 1UL)
 #define RS_fgShift             0
 #define RS_bgShift             Color_Bits
 #define RS_fgMask               (RS_colorMask << RS_fgShift)
@@ -460,7 +460,7 @@ enum colour_list {
   Color_White = maxCOLOR,
 #endif
   minTermCOLOR = Color_White + 1,
-#ifndef XTERM_256_COLORS
+#ifndef USE_256_COLORS
   maxTermCOLOR = Color_White + 72,
 #else
   maxTermCOLOR = Color_White + 240,
@@ -504,7 +504,7 @@ enum colour_list {
 #endif
 };
 
-#ifndef XTERM_256_COLORS
+#ifndef USE_256_COLORS
 #define Color_Bits      7 // 0 .. maxTermCOLOR
 #else
 #define Color_Bits      9 // 0 .. maxTermCOLOR