summaryrefslogtreecommitdiffstats
path: root/src/gui_haiku.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_haiku.cc')
-rw-r--r--src/gui_haiku.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_haiku.cc b/src/gui_haiku.cc
index a1c7e3eb1b..644c2db665 100644
--- a/src/gui_haiku.cc
+++ b/src/gui_haiku.cc
@@ -638,7 +638,7 @@ static struct specialkey
{0, 0, 0}
};
-#define NUM_SPECIAL_KEYS (sizeof(special_keys)/sizeof(special_keys[0]))
+#define NUM_SPECIAL_KEYS ARRAY_LENGTH(special_keys)
// ---------------- VimApp ----------------