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 | 5ef745726659d3d9f7b3a1e7f0e7cb1f32b7d35b (patch) | |
tree | 2d01d474f102111634014809d4c278b9e61fe2f6 | |
parent | b5982e284d7560930461e3bb4a0281afd6bc0093 (diff) | |
download | st-5ef745726659d3d9f7b3a1e7f0e7cb1f32b7d35b.tar.gz st-5ef745726659d3d9f7b3a1e7f0e7cb1f32b7d35b.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; |