Replace VIM_ISDIGIT() and vim_isdigit() with ascii_isdigit() defined in ascii.h

This commit is contained in:
Felipe Oliveira Carvalho
2015-04-22 19:47:53 -03:00
parent 93bf201119
commit caabcae0b7
37 changed files with 168 additions and 176 deletions

View File

@@ -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;