diff options
author | Christoph Lohmann <20h@r-36.net> | 2012-10-02 12:48:55 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2012-10-02 12:48:55 +0200 |
commit | 0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f (patch) | |
tree | 2d01d474f102111634014809d4c278b9e61fe2f6 | |
parent | af9e248f976e8396c5aa7fd021ff95ccab78cb72 (diff) | |
download | st-0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f.tar.gz st-0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f.tar.bz2 |
Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the
right choice.
-rw-r--r-- | st.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; |