~petersanchez/st

a1018e0e9e52f29fe220a6af85a237a1a02a732c — Aurélien Aptel 13 years ago fbb66da
fixed potential bug in IS_SET().
1 files changed, 1 insertions(+), 1 deletions(-)

M st.c
M st.c => st.c +1 -1
@@ 34,7 34,7 @@
#define BETWEEN(x, a, b)  ((a) <= (x) && (x) <= (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 || (a).bg != (b).bg)
#define IS_SET(flag) (term.mode & flag)
#define IS_SET(flag) (term.mode & (flag))

/* Attribute, Cursor, Character state, Terminal mode, Screen draw mode */
enum { ATTR_NULL=0 , ATTR_REVERSE=1 , ATTR_UNDERLINE=2, ATTR_BOLD=4, ATTR_GFX=8 };