diff options
Diffstat (limited to 'src/spell.c')
-rw-r--r-- | src/spell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spell.c b/src/spell.c index 60e1fb172c..ea3f0787e3 100644 --- a/src/spell.c +++ b/src/spell.c @@ -4228,9 +4228,9 @@ void spell_delete_wordlist(void) char_u fname[MAXPATHL]; if (int_wordlist != NULL) { - mch_remove(int_wordlist); + os_remove((char *)int_wordlist); int_wordlist_spl(fname); - mch_remove(fname); + os_remove((char *)fname); vim_free(int_wordlist); int_wordlist = NULL; } |