No OOM in ExpandOldSetting()

This commit is contained in:
Felipe Oliveira Carvalho
2014-05-31 00:48:14 -03:00
parent b1595e74f2
commit f4002c97dc
2 changed files with 7 additions and 7 deletions

View File

@@ -3651,8 +3651,10 @@ ExpandFromContext (
expand_shellcmd(pat, num_file, file, flags);
return OK;
}
if (xp->xp_context == EXPAND_OLD_SETTING)
return ExpandOldSetting(num_file, file);
if (xp->xp_context == EXPAND_OLD_SETTING) {
ExpandOldSetting(num_file, file);
return OK;
}
if (xp->xp_context == EXPAND_BUFFERS)
return ExpandBufnames(pat, num_file, file, options);
if (xp->xp_context == EXPAND_TAGS