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:
Jurica Bradaric 2016-02-27 18:43:05 +01:00
parent 3e0fab6b7c
commit 8d5e60d8af
2 changed files with 2 additions and 4 deletions

View File

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

View File

@ -178,7 +178,7 @@ static int included_patches[] = {
// 1115 NA
// 1114,
// 1113,
// 1112,
1112,
// 1111,
// 1110,
// 1109 NA