st-no_bold_colors-0.8.1.diff (733B)
1 From e0a92b498278e42e33f8007fd7b622a05e5310eb Mon Sep 17 00:00:00 2001 2 From: Linh Nguyen <linhvng.2212@gmail.com> 3 Date: Wed, 28 Mar 2018 12:23:45 -0400 4 Subject: [PATCH] port st-no_bold_colors patch to 0.8.1 5 6 --- 7 x.c | 2 +- 8 1 file changed, 1 insertion(+), 1 deletion(-) 9 10 diff --git a/x.c b/x.c 11 index c343ba2..42e7e9f 100644 12 --- a/x.c 13 +++ b/x.c 14 @@ -1295,7 +1295,7 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i 15 16 /* Change basic system colors [0-7] to bright system colors [8-15] */ 17 if ((base.mode & ATTR_BOLD_FAINT) == ATTR_BOLD && BETWEEN(base.fg, 0, 7)) 18 - fg = &dc.col[base.fg + 8]; 19 + fg = &dc.col[base.fg]; 20 21 if (IS_SET(MODE_REVERSE)) { 22 if (fg == &dc.col[defaultfg]) { 23 -- 24 2.16.3 25