mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.1112
Problem: When using ":next" with an illegal file name no error is reported.
Solution: Give an error message.
2db5c3b3ce
This commit is contained in:
parent
3e0fab6b7c
commit
8d5e60d8af
@ -1537,9 +1537,7 @@ do_arglist (
|
||||
int i = expand_wildcards(new_ga.ga_len, (char_u **)new_ga.ga_data,
|
||||
&exp_count, &exp_files, EW_DIR|EW_FILE|EW_ADDSLASH|EW_NOTFOUND);
|
||||
ga_clear(&new_ga);
|
||||
if (i == FAIL)
|
||||
return FAIL;
|
||||
if (exp_count == 0) {
|
||||
if (i == FAIL || exp_count == 0) {
|
||||
EMSG(_(e_nomatch));
|
||||
return FAIL;
|
||||
}
|
||||
|
@ -178,7 +178,7 @@ static int included_patches[] = {
|
||||
// 1115 NA
|
||||
// 1114,
|
||||
// 1113,
|
||||
// 1112,
|
||||
1112,
|
||||
// 1111,
|
||||
// 1110,
|
||||
// 1109 NA
|
||||
|
Loading…
Reference in New Issue
Block a user