comparison src/ex_docmd.c @ 1757:f10fe14748e2 v7.2.055

updated for version 7.2-055
author vimboss
date Fri, 28 Nov 2008 20:29:07 +0000
parents 734d5bdae499
children 649d340f34d3
comparison
equal deleted inserted replaced
1756:5fafc42c22d2 1757:f10fe14748e2
8751 shorten_fnames(TRUE); 8751 shorten_fnames(TRUE);
8752 } 8752 }
8753 else if (*dirnow != NUL 8753 else if (*dirnow != NUL
8754 && (ssop_flags & SSOP_CURDIR) && globaldir != NULL) 8754 && (ssop_flags & SSOP_CURDIR) && globaldir != NULL)
8755 { 8755 {
8756 (void)mch_chdir((char *)globaldir); 8756 if (mch_chdir((char *)globaldir) == OK)
8757 shorten_fnames(TRUE); 8757 shorten_fnames(TRUE);
8758 } 8758 }
8759 8759
8760 failed |= (makeopens(fd, dirnow) == FAIL); 8760 failed |= (makeopens(fd, dirnow) == FAIL);
8761 8761
8762 /* restore original dir */ 8762 /* restore original dir */