pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abe85c0
)
Now italic and bold works.
author
Christoph Lohmann
<20h@r-36.net>
Sat, 3 Nov 2012 07:35:32 +0000
(08:35 +0100)
committer
Christoph Lohmann
<20h@r-36.net>
Sat, 3 Nov 2012 07:35:32 +0000
(08:35 +0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
d7a0fed
..
bfbe799
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-2423,7
+2423,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_BOLD))
+ if(
(base.mode & ATTR_ITALIC) && (base.mode &
ATTR_BOLD))
font = &dc.ibfont;
if(IS_SET(MODE_REVERSE)) {