aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 6c2cb2b645..23c48651b1 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -2168,7 +2168,7 @@ static void usage(void)
for (i = 0;; ++i) {
mch_msg(_(" vim [arguments] "));
mch_msg(_(use[i]));
- if (i == (sizeof(use) / sizeof(char_u *)) - 1)
+ if (i == ARRAY_SIZE(use) - 1)
break;
mch_msg(_("\n or:"));
}