aboutsummaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c
index 9d84ab66af..4d50261ef8 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -8235,7 +8235,7 @@ mkspell (
EMSG(_(e_exists));
goto theend;
}
- if (mch_isdir(wfname)) {
+ if (os_isdir(wfname)) {
EMSG2(_(e_isadir2), wfname);
goto theend;
}