Fixing the italic-bold font check. Thanks nsz.
This commit is contained in:
parent
cd90969cab
commit
091ae143ce
1 changed files with 1 additions and 1 deletions
2
st.c
2
st.c
|
@ -2408,7 +2408,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
|
||||||
|
|
||||||
if(base.mode & ATTR_ITALIC)
|
if(base.mode & ATTR_ITALIC)
|
||||||
font = &dc.ifont;
|
font = &dc.ifont;
|
||||||
if(base.mode & (ATTR_ITALIC|ATTR_ITALIC))
|
if(base.mode & (ATTR_ITALIC|ATTR_BOLD))
|
||||||
font = &dc.ibfont;
|
font = &dc.ibfont;
|
||||||
|
|
||||||
if(IS_SET(MODE_REVERSE)) {
|
if(IS_SET(MODE_REVERSE)) {
|
||||||
|
|
Loading…
Reference in a new issue