From: Bram Moolenaar Date: Fri, 27 Jul 2012 19:12:07 +0000 (+0200) Subject: updated for version 7.3.617 X-Git-Tag: v7.3.617 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a07c831bef5d6719a5c02fb43fc4b6dc72c8869b;p=vim updated for version 7.3.617 Problem: Hang on completion. Solution: Skip over the space. (Yasuhiro Matsumoto) --- diff --git a/src/ex_docmd.c b/src/ex_docmd.c index e975d84ae..2d4117d44 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -3837,16 +3837,11 @@ set_one_cmd_context(xp, buff) while (*p) { if (*p == ' ') - { /* argument starts after a space */ arg = p + 1; - } - else - { - if (*p == '\\' && *(p + 1) != NUL) - ++p; /* skip over escaped character */ - mb_ptr_adv(p); - } + else if (*p == '\\' && *(p + 1) != NUL) + ++p; /* skip over escaped character */ + mb_ptr_adv(p); } xp->xp_pattern = arg; } diff --git a/src/version.c b/src/version.c index b39f5c5d9..f3b14351f 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 617, /**/ 616, /**/