no bold color patch

This commit is contained in:
Sir Garbagetruck 2017-03-16 23:12:05 +02:00
parent 50385fa2c5
commit 06f758cf46

2
st.c
View file

@ -3786,7 +3786,7 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i
/* Change basic system colors [0-7] to bright system colors [8-15] */
if ((base.mode & ATTR_BOLD_FAINT) == ATTR_BOLD && BETWEEN(base.fg, 0, 7))
fg = &dc.col[base.fg + 8];
fg = &dc.col[base.fg];
if (IS_SET(MODE_REVERSE)) {
if (fg == &dc.col[defaultfg]) {