diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-07 16:35:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-07 16:35:04 +0200 |
commit | ad249fb74c3b6f566feb3498592757b30e446dfd (patch) | |
tree | 59257a3e73c122f7af4a47552b24609871c79af2 /src/main.c | |
parent | ceb45be4d3dabcea0ce8bb73a20ab4169732fbc0 (diff) | |
download | vim-git-ad249fb74c3b6f566feb3498592757b30e446dfd.tar.gz |
updated for version 7.2.415v7.2.415
Problem: Win32: Can't open a remote file when starting Vim.
Solution: Don't invoke cygwin_conv_path() for URLs. (Tomoya Adachi)
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index 4e027ab8c..0330f6abc 100644 --- a/src/main.c +++ b/src/main.c @@ -1477,7 +1477,7 @@ parse_command_name(parmp) ++initstr; } - /* Avoid using evim mode for "editor". */ + /* Use evim mode for "evim" and "egvim", not for "editor". */ if (TOLOWER_ASC(initstr[0]) == 'e' && (TOLOWER_ASC(initstr[1]) == 'v' || TOLOWER_ASC(initstr[1]) == 'g')) @@ -2262,7 +2262,7 @@ scripterror: * Look for evidence of non-Cygwin paths before we bother. * This is only for when using the Unix files. */ - if (strpbrk(p, "\\:") != NULL) + if (strpbrk(p, "\\:") != NULL && !path_with_url(p)) { char posix_path[PATH_MAX]; |