diff options
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 60bbb5f81d..c730d761bb 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -8792,7 +8792,7 @@ ex_mkrc(eap) else if (*dirnow != NUL && (ssop_flags & SSOP_CURDIR) && globaldir != NULL) { - if (mch_chdir((char *)globaldir) == OK) + if (mch_chdir((char *)globaldir) == 0) shorten_fnames(TRUE); } |