aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-10-02 12:48:55 +0200
committerChristoph Lohmann <20h@r-36.net>2012-10-02 12:48:55 +0200
commit0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f (patch)
tree2d01d474f102111634014809d4c278b9e61fe2f6
parentaf9e248f976e8396c5aa7fd021ff95ccab78cb72 (diff)
downloadst-0d88f1ef75c2fe9403a72c80d6fa8ed199ec474f.tar.gz
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) {
2182 if(base.mode & ATTR_REVERSE) 2182 if(base.mode & ATTR_REVERSE)
2183 temp = fg, fg = bg, bg = temp; 2183 temp = fg, fg = bg, bg = temp;
2184 2184
2185 if(base.mode & ATTR_BOLD) { 2185 if(base.mode & ATTR_BOLD)
2186 fg += 8;
2187 font = &dc.bfont; 2186 font = &dc.bfont;
2188 }
2189 2187
2190 if(base.mode & ATTR_ITALIC) 2188 if(base.mode & ATTR_ITALIC)
2191 font = &dc.ifont; 2189 font = &dc.ifont;