diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-11-28 20:29:07 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-11-28 20:29:07 +0000 |
commit | fe86f2d7cdb284f18543cac2e6cbbe11352c7f48 (patch) | |
tree | 9b8155ee2c3fe3142e4258590d210451db55db1f /src/ex_docmd.c | |
parent | a40b46614a54de01a74d37a771db4dbfa44afee9 (diff) | |
download | vim-git-fe86f2d7cdb284f18543cac2e6cbbe11352c7f48.tar.gz |
updated for version 7.2-055v7.2.055
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 5a80a07c2..3e40669e3 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -8753,8 +8753,8 @@ ex_mkrc(eap) else if (*dirnow != NUL && (ssop_flags & SSOP_CURDIR) && globaldir != NULL) { - (void)mch_chdir((char *)globaldir); - shorten_fnames(TRUE); + if (mch_chdir((char *)globaldir) == OK) + shorten_fnames(TRUE); } failed |= (makeopens(fd, dirnow) == FAIL); |