--- rxvt-unicode/src/screen.C 2006/01/11 02:13:56 1.221 +++ rxvt-unicode/src/screen.C 2006/01/11 05:14:26 1.222 @@ -574,7 +574,7 @@ void rxvt_term::scr_color (unsigned int color, int fgbg) { - if (color > maxTermCOLOR) + if (!IN_RANGE_INC (color, minTermCOLOR, maxTermCOLOR)) color = fgbg; if (fgbg == Color_fg)