Cleanup: Rename getdigits() family functions.

This commit is contained in:
Eliseo Martínez
2015-01-11 20:57:33 +01:00
parent bb737b6f0e
commit 7f7262e933
23 changed files with 83 additions and 83 deletions

View File

@@ -750,7 +750,7 @@ do_bufdel (
break;
arg = p;
} else
bnr = get_int_digits(&arg);
bnr = getdigits_int(&arg);
}
}
if (!got_int && do_current && do_buffer(command, DOBUF_FIRST,
@@ -2997,7 +2997,7 @@ build_stl_str_hl (
l = -1;
}
if (VIM_ISDIGIT(*s)) {
minwid = get_int_digits(&s);
minwid = getdigits_int(&s);
if (minwid < 0) /* overflow */
minwid = 0;
}
@@ -3033,7 +3033,7 @@ build_stl_str_hl (
if (*s == '.') {
s++;
if (VIM_ISDIGIT(*s)) {
maxwid = get_int_digits(&s);
maxwid = getdigits_int(&s);
if (maxwid <= 0) /* overflow */
maxwid = 50;
}
@@ -4077,7 +4077,7 @@ chk_modeline (
e = s + 4;
else
e = s + 3;
vers = get_int_digits(&e);
vers = getdigits_int(&e);
if (*e == ':'
&& (s[0] != 'V'
|| STRNCMP(skipwhite(e + 1), "set", 3) == 0)