From: root Date: Thu, 1 Apr 2010 00:13:04 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=b3f92ea28a46c07e5ffd9a4cd217dc460a79f7f3;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/rxvt.h b/src/rxvt.h index 9b530cf9..8690c8f4 100644 --- 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)