From fafeee6b9e4b1a295001ed2139f9c5bc81eab836 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 3 Jul 2015 13:33:01 +0200 Subject: [PATCH] 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) --- src/main.c | 6 +++--- src/version.c | 2 ++ 2 files changed, 5 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"); + ga_concat(&ga, (char_u *)"'|cd -|endif|endif"); vim_free(cdp); if (sendReply) diff --git a/src/version.c b/src/version.c index ff024760b..709bf99a0 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 767, /**/ 766, /**/