diff options
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index 7460f94fbe..db65ad724f 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -524,7 +524,7 @@ open_line ( for (p = lead_flags; *p != NUL && *p != ':'; ) { if (*p == COM_RIGHT || *p == COM_LEFT) c = *p++; - else if (VIM_ISDIGIT(*p) || *p == '-') + else if (ascii_isdigit(*p) || *p == '-') off = getdigits_int(&p); else ++p; @@ -2465,7 +2465,7 @@ get_number ( for (;; ) { ui_cursor_goto(msg_row, msg_col); c = safe_vgetc(); - if (VIM_ISDIGIT(c)) { + if (ascii_isdigit(c)) { n = n * 10 + c - '0'; msg_putchar(c); ++typed; |