Now italic and bold works.

dev
Christoph Lohmann 2012-11-03 08:35:32 +01:00
parent abe85c0e99
commit 76a8e5f72b
1 changed files with 1 additions and 1 deletions

2
st.c
View File

@ -2423,7 +2423,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
if(base.mode & ATTR_ITALIC)
font = &dc.ifont;
if(base.mode & (ATTR_ITALIC|ATTR_BOLD))
if((base.mode & ATTR_ITALIC) && (base.mode & ATTR_BOLD))
font = &dc.ibfont;
if(IS_SET(MODE_REVERSE)) {