mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 03:08:27 +00:00
Replace VIM_ISDIGIT() and vim_isdigit() with ascii_isdigit() defined in ascii.h
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user