tNow italic and bold works. - st - [fork] customized build of st, the simple te… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 76a8e5f72b542f230d7248c09efe202a12bc3771 | |
parent abe85c0e997ed1882c69bde511f7e2746f68d9ab | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sat, 3 Nov 2012 08:35:32 +0100 | |
Now italic and bold works. | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -2423,7 +2423,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_BOLD)) | |
+ if((base.mode & ATTR_ITALIC) && (base.mode & ATTR_BOLD)) | |
font = &dc.ibfont; | |
if(IS_SET(MODE_REVERSE)) { |