Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the
authorChristoph Lohmann <20h@r-36.net>
Tue, 2 Oct 2012 10:48:55 +0000 (12:48 +0200)
committerChristoph Lohmann <20h@r-36.net>
Tue, 2 Oct 2012 10:48:55 +0000 (12:48 +0200)
right choice.

st.c

diff --git a/st.c b/st.c
index 59fb06c..4fbe05c 100644 (file)
--- 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;