diff options
author | ZachIR <zachir@librem.one> | 2025-07-08 21:08:52 -0500 |
---|---|---|
committer | ZachIR <zachir@librem.one> | 2025-07-08 21:08:52 -0500 |
commit | 1f5344705216be2234d29d9b0ea675577988caa4 (patch) | |
tree | 196ee0a839d0b807479b8b4b549f16ccfab260ef /st.h | |
parent | af79d1853cf8d501bbdf14b6d4b2df81bdaf1526 (diff) |
Apply ligatures patch
Diffstat (limited to 'st.h')
-rw-r--r-- | st.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,7 +11,8 @@ #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 != (b).mode || (a).fg != (b).fg || \ +#define ATTRCMP(a, b) (((a).mode & (~ATTR_WRAP)) != ((b).mode & (~ATTR_WRAP)) || \ + (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) |