aboutsummaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-04-27 22:15:44 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-02 15:58:33 -0300
commitd1411aebd8c9514a6a5fceaffe6d11f5a8df59f1 (patch)
tree696e9248fad25bfd58abb8efe8b545b0866d9220 /src/ex_cmds.c
parent9b56e3a4cc5480deb5769a712b003c5a0fd9fdf5 (diff)
downloadrneovim-d1411aebd8c9514a6a5fceaffe6d11f5a8df59f1.tar.gz
rneovim-d1411aebd8c9514a6a5fceaffe6d11f5a8df59f1.tar.bz2
rneovim-d1411aebd8c9514a6a5fceaffe6d11f5a8df59f1.zip
Rename buf_modname to modname as they've become the same
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 57584fb37d..7723dda267 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(fname, (char_u *)".tmp", FALSE);
+ tempname = modname(fname, (char_u *)".tmp", FALSE);
if (tempname != NULL) {
/*
* Check if tempfile already exists. Never overwrite an