[hackers] [st] Fixing the italic-bold font check. Thanks nsz. || Christoph Lohmann

From: <hg_AT_suckless.org>
Date: Fri, 2 Nov 2012 23:21:52 +0100 (CET)

changeset: 379:88ca50b8e7f7
tag: tip
user: Christoph Lohmann <20h_AT_r-36.net>
date: Fri Nov 02 23:19:56 2012 +0100
files: st.c
description:
Fixing the italic-bold font check. Thanks nsz.


diff -r db4f3f0ef420 -r 88ca50b8e7f7 st.c
--- a/st.c Fri Nov 02 20:08:51 2012 +0100
+++ b/st.c Fri Nov 02 23:19:56 2012 +0100
_AT_@ -2408,7 +2408,7 @@
 
         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)) {
Received on Fri Nov 02 2012 - 23:21:52 CET

This archive was generated by hypermail 2.3.0 : Fri Nov 02 2012 - 23:24:06 CET