No OOM error condition in prep_exarg()

This commit is contained in:
Felipe Oliveira Carvalho
2014-04-19 01:56:26 -03:00
committed by Thiago de Arruda
parent 15d8f702a8
commit 4b6b9117b3
3 changed files with 109 additions and 118 deletions

View File

@@ -4659,10 +4659,7 @@ int buf_contents_changed(buf_T *buf)
return TRUE;
/* Force the 'fileencoding' and 'fileformat' to be equal. */
if (prep_exarg(&ea, buf) == FAIL) {
wipe_buffer(newbuf, FALSE);
return TRUE;
}
prep_exarg(&ea, buf);
/* set curwin/curbuf to buf and save a few things */
aucmd_prepbuf(&aco, newbuf);