changeset 3716:73db39ca1877 v7.3.617

updated for version 7.3.617 Problem: Hang on completion. Solution: Skip over the space. (Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Fri, 27 Jul 2012 21:12:07 +0200
parents 7c8c0ca53e34
children eab9a9c2fee2
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 5 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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;
 		}
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    617,
+/**/
     616,
 /**/
     615,