--- rxvt-unicode/src/rxvt.h 2010/03/31 23:49:08 1.390 +++ rxvt-unicode/src/rxvt.h 2010/04/01 00:12:33 1.391 @@ -308,7 +308,11 @@ #define RS_None 0 +#ifndef USE_256_COLORS #define RS_colorMask 0x0000007fUL // 128 colors +#else +#define RS_colorMask 0x000001ffUL +#endif #define RS_fgShift 0 #define RS_bgShift Color_Bits #define RS_fgMask (RS_colorMask << RS_fgShift) @@ -460,7 +464,7 @@ 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 +508,7 @@ #endif }; -#ifndef XTERM_256_COLORS +#ifndef USE_256_COLORS #define Color_Bits 7 // 0 .. maxTermCOLOR #else #define Color_Bits 9 // 0 .. maxTermCOLOR