diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-09-06 15:39:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-09-06 15:39:22 +0000 |
commit | 02b063139b8aefdf0a958aec9fd221c920aea724 (patch) | |
tree | 2d9d13f201b9b328b7e4ddef3da567f867777633 /src/main.c | |
parent | 7fd1602e5611ce3eceae62092e9d3a85bcc5f69a (diff) |
updated for version 7.1-100v7.1.100
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index ab5d31bf24..906d8bd5ee 100644 --- a/src/main.c +++ b/src/main.c @@ -1331,6 +1331,9 @@ getout(exitval) #ifdef FEAT_NETBEANS_INTG netbeans_end(); #endif +#ifdef FEAT_CSCOPE + cs_end(); +#endif mch_exit(exitval); } @@ -3671,7 +3674,13 @@ build_drop_cmd(filec, filev, tabs, sendReply) mainerr_arg_missing((char_u *)filev[-1]); if (mch_dirname(cwd, MAXPATHL) != OK) return NULL; - if ((p = vim_strsave_escaped_ext(cwd, PATH_ESC_CHARS, '\\', TRUE)) == NULL) + if ((p = vim_strsave_escaped_ext(cwd, +#ifdef BACKSLASH_IN_FILENAME + "", /* rem_backslash() will tell what chars to escape */ +#else + PATH_ESC_CHARS, +#endif + '\\', TRUE)) == NULL) return NULL; ga_init2(&ga, 1, 100); ga_concat(&ga, (char_u *)"<C-\\><C-N>:cd "); |