mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 22:38:16 +00:00
Use ARRAY_SIZE where Coccinelle wasn't able to do it
This commit is contained in:
@@ -1808,7 +1808,7 @@ static struct vimoption
|
||||
}
|
||||
};
|
||||
|
||||
#define PARAM_COUNT (sizeof(options) / sizeof(struct vimoption))
|
||||
#define PARAM_COUNT ARRAY_SIZE(options)
|
||||
|
||||
static char *(p_ambw_values[]) = {"single", "double", NULL};
|
||||
static char *(p_bg_values[]) = {"light", "dark", NULL};
|
||||
|
Reference in New Issue
Block a user