diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-07-25 22:28:19 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-07-25 22:32:23 +0200 |
commit | 2731080212fad1430becae0cb56fe33238e7e24a (patch) | |
tree | 14de0a1eb8da856c567256a9b8acf6e5d0005c4f /src/nvim/undo.c | |
parent | bb3a0099c6909edc779cf9d2eff9656dab9a967e (diff) | |
download | rneovim-2731080212fad1430becae0cb56fe33238e7e24a.tar.gz rneovim-2731080212fad1430becae0cb56fe33238e7e24a.tar.bz2 rneovim-2731080212fad1430becae0cb56fe33238e7e24a.zip |
cleanup: remove mch_fopen in favor of os_fopen
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r-- | src/nvim/undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 116bdd02b8..c9b0d96866 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -1299,7 +1299,7 @@ void u_read_undo(char *name, char_u *hash, char_u *orig_name) verbose_leave(); } - FILE *fp = mch_fopen(file_name, "r"); + FILE *fp = os_fopen(file_name, "r"); if (fp == NULL) { if (name != NULL || p_verbose > 0) { EMSG2(_("E822: Cannot open undo file for reading: %s"), file_name); |