comparison src/ex_docmd.c @ 1830:288fb648badb v7.2.128

updated for version 7.2-128
author vimboss
date Sun, 01 Mar 2009 01:45:35 +0000
parents 4c7cf05f60b5
children cf080795d202
comparison
equal deleted inserted replaced
1829:b54d2f702d41 1830:288fb648badb
8790 shorten_fnames(TRUE); 8790 shorten_fnames(TRUE);
8791 } 8791 }
8792 else if (*dirnow != NUL 8792 else if (*dirnow != NUL
8793 && (ssop_flags & SSOP_CURDIR) && globaldir != NULL) 8793 && (ssop_flags & SSOP_CURDIR) && globaldir != NULL)
8794 { 8794 {
8795 if (mch_chdir((char *)globaldir) == OK) 8795 if (mch_chdir((char *)globaldir) == 0)
8796 shorten_fnames(TRUE); 8796 shorten_fnames(TRUE);
8797 } 8797 }
8798 8798
8799 failed |= (makeopens(fd, dirnow) == FAIL); 8799 failed |= (makeopens(fd, dirnow) == FAIL);
8800 8800