st-bold-is-not-bright-20190127-3be4cf1.diff - sites - public wiki contents of suckless.org
 (HTM) git clone git://git.suckless.org/sites
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       st-bold-is-not-bright-20190127-3be4cf1.diff (753B)
       ---
            1 From e8f3c86d93613eef5af187dfd2dba9ae9919a2ee Mon Sep 17 00:00:00 2001
            2 From: =?UTF-8?q?Rapha=C3=ABl=20Proust?= <code@bnwr.net>
            3 Date: Sun, 27 Jan 2019 13:31:28 +0800
            4 Subject: [PATCH] Show bold not as bright
            5 
            6 ---
            7  x.c | 4 ----
            8  1 file changed, 4 deletions(-)
            9 
           10 diff --git a/x.c b/x.c
           11 index 0422421..904e1dc 100644
           12 --- a/x.c
           13 +++ b/x.c
           14 @@ -1296,10 +1296,6 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i
           15                  bg = &dc.col[base.bg];
           16          }
           17  
           18 -        /* Change basic system colors [0-7] to bright system colors [8-15] */
           19 -        if ((base.mode & ATTR_BOLD_FAINT) == ATTR_BOLD && BETWEEN(base.fg, 0, 7))
           20 -                fg = &dc.col[base.fg + 8];
           21 -
           22          if (IS_SET(MODE_REVERSE)) {
           23                  if (fg == &dc.col[defaultfg]) {
           24                          fg = &dc.col[defaultbg];
           25 -- 
           26 2.20.1
           27