Skip to content

Commit 02c1b1e

Browse files
brammooldouglasdrumond
authored andcommitted
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)
1 parent 436f9d2 commit 02c1b1e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4095,15 +4095,15 @@ build_drop_cmd(filec, filev, tabs, sendReply)
40954095
* if haslocaldir()
40964096
* cd -
40974097
* lcd -
4098-
* elseif getcwd() ==# "current path"
4098+
* elseif getcwd() ==# 'current path'
40994099
* cd -
41004100
* endif
41014101
* endif
41024102
*/
41034103
ga_concat(&ga, (char_u *)":if !exists('+acd')||!&acd|if haslocaldir()|");
4104-
ga_concat(&ga, (char_u *)"cd -|lcd -|elseif getcwd() ==# \"");
4104+
ga_concat(&ga, (char_u *)"cd -|lcd -|elseif getcwd() ==# '");
41054105
ga_concat(&ga, cdp);
4106-
ga_concat(&ga, (char_u *)"\"|cd -|endif|endif<CR>");
4106+
ga_concat(&ga, (char_u *)"'|cd -|endif|endif<CR>");
41074107
vim_free(cdp);
41084108

41094109
if (sendReply)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,8 @@ static char *(features[]) =
756756

757757
static int included_patches[] =
758758
{ /* Add new patch number below this line */
759+
/**/
760+
767,
759761
/**/
760762
766,
761763
/**/

0 commit comments

Comments
 (0)