aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorEric Pruitt <eric.pruitt@gmail.com>2015-03-05 20:26:11 -0800
committerAnselm R Garbe <garbeam@gmail.com>2015-03-13 21:44:22 +0100
commit14343e69cc596b847f71f1e825d3019ab1a29aa8 (patch)
treebf7b0bede9b451f7f8e78e0d47fda511201622d8 /util.h
parent35db6d8afc3fd9f80166feac6c1e4adf71d553c3 (diff)
Add Xft and follback-fonts support to graphics lib
Diffstat (limited to 'util.h')
-rw-r--r--util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index 033700c..f7ce721 100644
--- a/util.h
+++ b/util.h
@@ -2,5 +2,6 @@
#define MAX(A, B) ((A) > (B) ? (A) : (B))
#define MIN(A, B) ((A) < (B) ? (A) : (B))
+#define BETWEEN(X, A, B) ((A) <= (X) && (X) <= (B))
void die(const char *errstr, ...);