Remove the always-FALSE shortname argument from buf_modname()

This commit is contained in:
Felipe Oliveira Carvalho
2014-04-27 22:13:24 -03:00
committed by Thiago de Arruda
parent 89e07185e9
commit 9b56e3a4cc
4 changed files with 9 additions and 18 deletions

View File

@@ -1569,7 +1569,7 @@ void write_viminfo(char_u *file, int forceit)
#endif
// Make tempname
tempname = buf_modname(FALSE, fname, (char_u *)".tmp", FALSE);
tempname = buf_modname(fname, (char_u *)".tmp", FALSE);
if (tempname != NULL) {
/*
* Check if tempfile already exists. Never overwrite an