diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-07-03 13:33:01 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-07-03 13:33:01 +0200 |
commit | fafeee6b9e4b1a295001ed2139f9c5bc81eab836 (patch) | |
tree | efc2b9121e773249cc4bf626891a8a51410c568f /src/main.c | |
parent | 92abe859ed8dc8b9a49b9cc2692d1a2569ebd31e (diff) | |
download | vim-git-fafeee6b9e4b1a295001ed2139f9c5bc81eab836.tar.gz |
patch 7.4.767v7.4.767
Problem: --remote-tab-silent can fail on MS-Windows.
Solution: Use single quotes to avoid problems with backslashes. (Idea by
Weiyong Mao)
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c index d9202c2e5..abcf0c974 100644 --- a/src/main.c +++ b/src/main.c @@ -4008,15 +4008,15 @@ build_drop_cmd(filec, filev, tabs, sendReply) * if haslocaldir() * cd - * lcd - - * elseif getcwd() ==# "current path" + * elseif getcwd() ==# 'current path' * cd - * endif * endif */ ga_concat(&ga, (char_u *)":if !exists('+acd')||!&acd|if haslocaldir()|"); - ga_concat(&ga, (char_u *)"cd -|lcd -|elseif getcwd() ==# \""); + ga_concat(&ga, (char_u *)"cd -|lcd -|elseif getcwd() ==# '"); ga_concat(&ga, cdp); - ga_concat(&ga, (char_u *)"\"|cd -|endif|endif<CR>"); + ga_concat(&ga, (char_u *)"'|cd -|endif|endif<CR>"); vim_free(cdp); if (sendReply) |