aboutsummaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 77523a043f..57584fb37d 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -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