tFixing the italic-bold font check. Thanks nsz. - st - [fork] customized build … | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 091ae143ce09e930fd61dae15f8d613c7eab5a61 | |
parent cd90969cab2d980977a76b79f936929834f2bdba | |
Author: Christoph Lohmann <[email protected]> | |
Date: Fri, 2 Nov 2012 23:19:56 +0100 | |
Fixing the italic-bold font check. Thanks nsz. | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -2408,7 +2408,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, i… | |
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)) { |