mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00
Cleanup: Rename getdigits() family functions.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user