aboutsummaryrefslogtreecommitdiff
path: root/st.c
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
commit5ef745726659d3d9f7b3a1e7f0e7cb1f32b7d35b (patch)
tree2d01d474f102111634014809d4c278b9e61fe2f6 /st.c
parentb5982e284d7560930461e3bb4a0281afd6bc0093 (diff)
downloadst-5ef745726659d3d9f7b3a1e7f0e7cb1f32b7d35b.tar.gz
st-5ef745726659d3d9f7b3a1e7f0e7cb1f32b7d35b.tar.bz2
Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the
right choice.
Diffstat (limited to 'st.c')
-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;