diff options
Diffstat (limited to 'patches/no_bold_colors.diff')
| -rw-r--r-- | patches/no_bold_colors.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/no_bold_colors.diff b/patches/no_bold_colors.diff new file mode 100644 index 0000000..006b847 --- /dev/null +++ b/patches/no_bold_colors.diff @@ -0,0 +1,13 @@ +diff --git a/x.c b/x.c +index fbfd350..110f3cc 100644 +--- a/x.c ++++ b/x.c +@@ -1158,7 +1158,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]) { |
