aboutsummaryrefslogtreecommitdiffstats
path: root/st.h
diff options
context:
space:
mode:
authorShivesh Mandalia <mail@shivesh.org>2021-09-26 20:56:40 +0100
committerShivesh Mandalia <mail@shivesh.org>2021-09-26 20:56:40 +0100
commit446b356f707b1e56811ca89caa27fb083b6611d4 (patch)
tree79d5e0d125c82e92f9633db83c93793bea971ef4 /st.h
parent04b562e98a947f6b4b036481ff01c1f59e1f2681 (diff)
downloadst-446b356f707b1e56811ca89caa27fb083b6611d4.tar.gz
st-446b356f707b1e56811ca89caa27fb083b6611d4.zip
Revert ligature support patch
Diffstat (limited to 'st.h')
-rw-r--r--st.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/st.h b/st.h
index 1afc05e..9d04b66 100644
--- a/st.h
+++ b/st.h
@@ -11,8 +11,7 @@
#define DIVCEIL(n, d) (((n) + ((d) - 1)) / (d))
#define DEFAULT(a, b) (a) = (a) ? (a) : (b)
#define LIMIT(x, a, b) (x) = (x) < (a) ? (a) : (x) > (b) ? (b) : (x)
-#define ATTRCMP(a, b) (((a).mode & (~ATTR_WRAP) & (~ATTR_LIGA)) != ((b).mode & (~ATTR_WRAP) & (~ATTR_LIGA)) || \
- (a).fg != (b).fg || \
+#define ATTRCMP(a, b) ((a).mode != (b).mode || (a).fg != (b).fg || \
(a).bg != (b).bg)
#define TIMEDIFF(t1, t2) ((t1.tv_sec-t2.tv_sec)*1000 + \
(t1.tv_nsec-t2.tv_nsec)/1E6)
@@ -34,7 +33,6 @@ enum glyph_attribute {
ATTR_WRAP = 1 << 8,
ATTR_WIDE = 1 << 9,
ATTR_WDUMMY = 1 << 10,
- ATTR_LIGA = 1 << 11,
ATTR_BOLD_FAINT = ATTR_BOLD | ATTR_FAINT,
};