--- rxvt-unicode/src/rxvtfont.C 2008/01/23 13:34:20 1.138 +++ rxvt-unicode/src/rxvtfont.C 2008/01/23 15:00:21 1.143 @@ -1395,7 +1395,7 @@ } else #endif - XftDrawRect (d2, &term->pix_colors[bg < 0 ? Color_bg : bg].c, 0, 0, w, h); + XftDrawRect (d2, &term->pix_colors[bg >= 0 ? bg : Color_bg].c, 0, 0, w, h); XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep - enc); XCopyArea (disp, d2, d, gc, 0, 0, w, h, x, y);