This commit is contained in:
Justin M. Keyes
2019-09-13 18:51:13 -07:00
parent 3344cffe7b
commit 6aae0e7c94
11 changed files with 100 additions and 82 deletions

View File

@@ -112,12 +112,14 @@ ex_menu(exarg_T *eap)
}
}
if (ascii_iswhite(*p)) {
for (i = 0; i < MENUDEPTH && !ascii_iswhite(*arg); ++i) {
for (i = 0; i < MENUDEPTH && !ascii_iswhite(*arg); i++) {
pri_tab[i] = getdigits_long(&arg, false, 0);
if (pri_tab[i] == 0)
if (pri_tab[i] == 0) {
pri_tab[i] = 500;
if (*arg == '.')
++arg;
}
if (*arg == '.') {
arg++;
}
}
arg = skipwhite(arg);
} else if (eap->addr_count && eap->line2 != 0) {