aboutsummaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-01 10:06:09 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-01 10:06:09 +0000
commit99172e7f8e0a7caa1356a9beebf7d22288e5f7a1 (patch)
tree92af8f394e1124952cf69652bdb340376765f730 /search.c
parentterm: don't enable ptmx FDM callback until Wayland window has been configured (diff)
parentunicode-combining: completely remove unicode combining characters when feature is disabled (diff)
Merge branch 'unicode-combining-for-real'
Diffstat (limited to 'search.c')
-rw-r--r--search.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/search.c b/search.c
index 547ac643..eef7b032 100644
--- a/search.c
+++ b/search.c
@@ -16,8 +16,7 @@
#include "render.h"
#include "selection.h"
#include "shm.h"
-
-#define max(x, y) ((x) > (y) ? (x) : (y))
+#include "util.h"
static bool
search_ensure_size(struct terminal *term, size_t wanted_size)