# HG changeset patch # User Bram Moolenaar # Date 1435923181 -7200 # Node ID 63ac0cdf3b2822cc114dd201c4b5ef59d6395e86 # Parent 3ccc008c035bc2de280788ad3754ea23d53d0851 patch 7.4.767 Problem: --remote-tab-silent can fail on MS-Windows. Solution: Use single quotes to avoid problems with backslashes. (Idea by Weiyong Mao) diff --git a/src/main.c b/src/main.c --- a/src/main.c +++ b/src/main.c @@ -4008,15 +4008,15 @@ build_drop_cmd(filec, filev, tabs, sendR * 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"); + ga_concat(&ga, (char_u *)"'|cd -|endif|endif"); vim_free(cdp); if (sendReply) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 767, +/**/ 766, /**/ 765,