commit | d2cec5b043361ee798a0522244135f4ea87838f6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Mar 28 21:08:56 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Mar 28 21:08:56 2006 +0000 |
tree | 3ad43aed8a8c373f85a2a3adf286b045c14f6cfe | |
parent | 607a95ed81973faab2e1c3d9c91822082694fdc3 [diff] [blame] |
updated for version 7.0c02
diff --git a/src/gui_mac.c b/src/gui_mac.c index 0acc3db..420f16c 100644 --- a/src/gui_mac.c +++ b/src/gui_mac.c
@@ -1066,6 +1066,11 @@ else alist_add(&global_alist, p, 2); } + + /* Change directory to the location of the first file. */ + if (GARGCOUNT > 0 && vim_chdirfile(alist_name(&GARGLIST[0])) == OK) + shorten_fnames(TRUE); + goto finished; }