commit 0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f (patch)
parent af9e248f976e8396c5aa7fd021ff95ccab78cb72
Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 2 Oct 2012 12:48:55 +0200
Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the
right choice.
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git 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;