diff options
author | Stefan Hoffmann <stefan991@gmail.com> | 2014-04-08 22:01:33 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-11 13:31:48 -0300 |
commit | a1df458524e9de0c19e4151e15765dc2bc508259 (patch) | |
tree | 8269ae4d96489d1ca23b8ce8aa4690bab555a200 /src/undo.c | |
parent | 445f31f076325a68d91746bb41ac9ba139144c2d (diff) | |
download | rneovim-a1df458524e9de0c19e4151e15765dc2bc508259.tar.gz rneovim-a1df458524e9de0c19e4151e15765dc2bc508259.tar.bz2 rneovim-a1df458524e9de0c19e4151e15765dc2bc508259.zip |
removed mch_remove macro
Diffstat (limited to 'src/undo.c')
-rw-r--r-- | src/undo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/undo.c b/src/undo.c index f4e95c43f7..c4345ccf7e 100644 --- a/src/undo.c +++ b/src/undo.c @@ -1189,7 +1189,7 @@ void u_write_undo(char_u *name, int forceit, buf_T *buf, char_u *hash) } } } - mch_remove(file_name); + os_remove((char *)file_name); } /* If there is no undo information at all, quit here after deleting any @@ -1242,7 +1242,7 @@ void u_write_undo(char_u *name, int forceit, buf_T *buf, char_u *hash) if (fp == NULL) { EMSG2(_(e_not_open), file_name); close(fd); - mch_remove(file_name); + os_remove((char *)file_name); goto theend; } |