From: Christoph Lohmann <20h@r-36.net> Date: Tue, 2 Oct 2012 10:48:55 +0000 (+0200) Subject: Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f;p=st.git Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the right choice. --- diff --git a/st.c b/st.c index 59fb06c..4fbe05c 100644 --- a/st.c +++ b/st.c @@ -2182,10 +2182,8 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) { if(base.mode & ATTR_REVERSE) temp = fg, fg = bg, bg = temp; - if(base.mode & ATTR_BOLD) { - fg += 8; + if(base.mode & ATTR_BOLD) font = &dc.bfont; - } if(base.mode & ATTR_ITALIC) font = &dc.ifont;