diff options
author | Christoph Lohmann <20h@r-36.net> | 2012-11-02 23:19:56 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2012-11-02 23:19:56 +0100 |
commit | 091ae143ce09e930fd61dae15f8d613c7eab5a61 (patch) | |
tree | 1b13477b28c15fca25efba9c57ebc7f7be8efbff /st.c | |
parent | cd90969cab2d980977a76b79f936929834f2bdba (diff) | |
download | st-091ae143ce09e930fd61dae15f8d613c7eab5a61.tar.gz st-091ae143ce09e930fd61dae15f8d613c7eab5a61.zip |
Fixing the italic-bold font check. Thanks nsz.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2408,7 +2408,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) { | |||
2408 | 2408 | ||
2409 | if(base.mode & ATTR_ITALIC) | 2409 | if(base.mode & ATTR_ITALIC) |
2410 | font = &dc.ifont; | 2410 | font = &dc.ifont; |
2411 | if(base.mode & (ATTR_ITALIC|ATTR_ITALIC)) | 2411 | if(base.mode & (ATTR_ITALIC|ATTR_BOLD)) |
2412 | font = &dc.ibfont; | 2412 | font = &dc.ibfont; |
2413 | 2413 | ||
2414 | if(IS_SET(MODE_REVERSE)) { | 2414 | if(IS_SET(MODE_REVERSE)) { |