diff options
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index 39643bae88..cb496dd1f0 100644 --- a/src/normal.c +++ b/src/normal.c @@ -379,7 +379,7 @@ static const struct nv_cmd }; // Number of commands in nv_cmds[]. -#define NV_CMDS_SIZE (sizeof(nv_cmds) / sizeof(struct nv_cmd)) +#define NV_CMDS_SIZE ARRAY_LENGTH(nv_cmds) // Sorted index of commands in nv_cmds[]. static short nv_cmd_idx[NV_CMDS_SIZE]; |