Explorar o código

Fixing the italic-bold font check. Thanks nsz.

Christoph Lohmann %!s(int64=12) %!d(string=hai) anos
pai
achega
091ae143ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      st.c

+ 1 - 1
st.c

@@ -2408,7 +2408,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_ITALIC))
+	if(base.mode & (ATTR_ITALIC|ATTR_BOLD))
 		font = &dc.ibfont;
 
 	if(IS_SET(MODE_REVERSE)) {