aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/menu.c')
-rw-r--r--src/nvim/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/menu.c b/src/nvim/menu.c
index d5dc039c3f..a5841c5d63 100644
--- a/src/nvim/menu.c
+++ b/src/nvim/menu.c
@@ -115,7 +115,7 @@ ex_menu (
* Fill in the priority table.
*/
for (p = arg; *p; ++p)
- if (!VIM_ISDIGIT(*p) && *p != '.')
+ if (!ascii_isdigit(*p) && *p != '.')
break;
if (ascii_iswhite(*p)) {
for (i = 0; i < MENUDEPTH && !ascii_iswhite(*arg); ++i) {
@@ -835,7 +835,7 @@ char_u *set_context_in_menu_cmd(expand_T *xp, char_u *cmd, char_u *arg, int forc
/* Check for priority numbers, enable and disable */
for (p = arg; *p; ++p)
- if (!VIM_ISDIGIT(*p) && *p != '.')
+ if (!ascii_isdigit(*p) && *p != '.')
break;
if (!ascii_iswhite(*p)) {