|
@@ -1189,12 +1189,6 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- if (base.mode & ATTR_REVERSE) {
|
|
|
|
- temp = fg;
|
|
|
|
- fg = bg;
|
|
|
|
- bg = temp;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
if ((base.mode & ATTR_BOLD_FAINT) == ATTR_FAINT) {
|
|
if ((base.mode & ATTR_BOLD_FAINT) == ATTR_FAINT) {
|
|
colfg.red = fg->color.red / 2;
|
|
colfg.red = fg->color.red / 2;
|
|
colfg.green = fg->color.green / 2;
|
|
colfg.green = fg->color.green / 2;
|
|
@@ -1203,6 +1197,13 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i
|
|
fg = &revfg;
|
|
fg = &revfg;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+ if (base.mode & ATTR_REVERSE) {
|
|
|
|
+ temp = fg;
|
|
|
|
+ fg = bg;
|
|
|
|
+ bg = temp;
|
|
|
|
+ }
|
|
|
|
+
|
|
if (base.mode & ATTR_BLINK && term.mode & MODE_BLINK)
|
|
if (base.mode & ATTR_BLINK && term.mode & MODE_BLINK)
|
|
fg = bg;
|
|
fg = bg;
|
|
|
|
|