X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=st.c;h=8ef1346b64aeaf96d4c377c291f290ee0074eab7;hb=091ae143ce09e930fd61dae15f8d613c7eab5a61;hp=8e0df08368b62d7a0a71cf283aff6409f05e29f2;hpb=cd90969cab2d980977a76b79f936929834f2bdba;p=st.git diff --git a/st.c b/st.c index 8e0df08..8ef1346 100644 --- a/st.c +++ b/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)) {