aboutsummaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-04-27 22:13:24 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-02 15:58:33 -0300
commit9b56e3a4cc5480deb5769a712b003c5a0fd9fdf5 (patch)
treeea96cf9a17ca5f0448fd7092d0371f82729ccaf6 /src/ex_cmds.c
parent89e07185e96bcbaeb8009b1dbad161f6b7c8b74c (diff)
downloadrneovim-9b56e3a4cc5480deb5769a712b003c5a0fd9fdf5.tar.gz
rneovim-9b56e3a4cc5480deb5769a712b003c5a0fd9fdf5.tar.bz2
rneovim-9b56e3a4cc5480deb5769a712b003c5a0fd9fdf5.zip
Remove the always-FALSE shortname argument from buf_modname()
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