summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann2012-10-02 12:48:55 +0200
committerChristoph Lohmann2012-10-02 12:48:55 +0200
commit0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f (patch)
tree2d01d474f102111634014809d4c278b9e61fe2f6
parentaf9e248f976e8396c5aa7fd021ff95ccab78cb72 (diff)
downloadst-0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f.tar.gz
st-0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f.tar.xz
st-0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f.zip
Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the
right choice.
-rw-r--r--st.c4
1 files changed, 1 insertions, 3 deletions
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;