[hackers] [st] Now italic and bold works. || Christoph Lohmann
changeset: 381:ba28aa0d864d
user: Christoph Lohmann <20h_AT_r-36.net>
date: Sat Nov 03 08:35:32 2012 +0100
files: st.c
description:
Now italic and bold works.
diff -r 94dafc55f45b -r ba28aa0d864d st.c
--- a/st.c Sat Nov 03 03:24:22 2012 +0100
+++ b/st.c Sat Nov 03 08:35:32 2012 +0100
_AT_@ -2423,7 +2423,7 @@
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)) {
Received on Sat Nov 03 2012 - 18:22:53 CET
This archive was generated by hypermail 2.3.0
: Sat Nov 03 2012 - 18:24:06 CET