mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00
Remove the always-FALSE shortname argument from buf_modname()
This commit is contained in:

committed by
Thiago de Arruda

parent
89e07185e9
commit
9b56e3a4cc
@@ -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
|
||||
|
Reference in New Issue
Block a user