mirror of
https://github.com/LukeSmithxyz/st.git
synced 2025-04-04 18:41:08 +02:00
Apply bold-is-not-bright patch
Patch name: 'st-bold-is-not-bright-20190127-3be4cf1.diff'
This commit is contained in:
parent
e875cb0c15
commit
44003a7cc6
1 changed files with 0 additions and 4 deletions
4
x.c
4
x.c
|
@ -1555,10 +1555,6 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i
|
||||||
bg = &dc.col[base.bg];
|
bg = &dc.col[base.bg];
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 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];
|
|
||||||
|
|
||||||
if (IS_SET(MODE_REVERSE)) {
|
if (IS_SET(MODE_REVERSE)) {
|
||||||
if (fg == &dc.col[defaultfg]) {
|
if (fg == &dc.col[defaultfg]) {
|
||||||
fg = &dc.col[defaultbg];
|
fg = &dc.col[defaultbg];
|
||||||
|
|
Loading…
Add table
Reference in a new issue