x.c | 7 +------ diff --git a/x.c b/x.c index d73152b5f07f811af386c183329f59d495300ab4..7b2a51868f199333c0b343c27c20759497fbbe93 100644 --- a/x.c +++ b/x.c @@ -1384,12 +1384,7 @@ Color *fg, *bg, *temp, revfg, revbg, truefg, truebg; XRenderColor colfg, colbg; XRectangle r; - /* Fallback on color display for attributes not supported by the font */ - if (base.mode & ATTR_ITALIC && base.mode & ATTR_BOLD) { - if (dc.ibfont.badslant || dc.ibfont.badweight) - base.fg = defaultattr; - } else if ((base.mode & ATTR_ITALIC && dc.ifont.badslant) || - (base.mode & ATTR_BOLD && dc.bfont.badweight)) { + if (base.mode & ATTR_ITALIC) { base.fg = defaultattr; }