… | |
… | |
615 | * Change the colour for following text |
615 | * Change the colour for following text |
616 | */ |
616 | */ |
617 | void |
617 | void |
618 | rxvt_term::scr_color (unsigned int color, int fgbg) NOTHROW |
618 | rxvt_term::scr_color (unsigned int color, int fgbg) NOTHROW |
619 | { |
619 | { |
620 | if (!IN_RANGE_INC (color, minCOLOR, maxTermCOLOR)) |
620 | if (!IN_RANGE_INC (color, minCOLOR, maxTermCOLOR24)) |
621 | color = fgbg; |
621 | color = fgbg; |
622 | |
622 | |
623 | if (fgbg == Color_fg) |
623 | if (fgbg == Color_fg) |
624 | rstyle = SET_FGCOLOR (rstyle, color); |
624 | rstyle = SET_FGCOLOR (rstyle, color); |
625 | else |
625 | else |