comparison src/main.c @ 16:3ba373b54370 v7.0008

updated for version 7.0008
author vimboss
date Mon, 12 Jul 2004 15:53:54 +0000
parents 946da5994c01
children cc049b00ee70
comparison
equal deleted inserted replaced
15:631143ac4a01 16:3ba373b54370
3053 /* Check if we have at least one argument. */ 3053 /* Check if we have at least one argument. */
3054 if (filec <= 0) 3054 if (filec <= 0)
3055 mainerr_arg_missing((char_u *)filev[-1]); 3055 mainerr_arg_missing((char_u *)filev[-1]);
3056 if (mch_dirname(cwd, MAXPATHL) != OK) 3056 if (mch_dirname(cwd, MAXPATHL) != OK)
3057 return NULL; 3057 return NULL;
3058 if ((p = vim_strsave_escaped_ext(cwd, PATH_ESC_CHARS, TRUE)) == NULL) 3058 if ((p = vim_strsave_escaped_ext(cwd, PATH_ESC_CHARS, '\\', TRUE)) == NULL)
3059 return NULL; 3059 return NULL;
3060 ga_init2(&ga, 1, 100); 3060 ga_init2(&ga, 1, 100);
3061 ga_concat(&ga, (char_u *)"<C-\\><C-N>:cd "); 3061 ga_concat(&ga, (char_u *)"<C-\\><C-N>:cd ");
3062 ga_concat(&ga, p); 3062 ga_concat(&ga, p);
3063 /* Call inputsave() so that a prompt for an encryption key works. */ 3063 /* Call inputsave() so that a prompt for an encryption key works. */