]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.617 v7.3.617
authorBram Moolenaar <Bram@vim.org>
Fri, 27 Jul 2012 19:12:07 +0000 (21:12 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 27 Jul 2012 19:12:07 +0000 (21:12 +0200)
Problem:    Hang on completion.
Solution:   Skip over the space. (Yasuhiro Matsumoto)

src/ex_docmd.c
src/version.c

index e975d84ae934eb180430087042c09b5f1c5115f4..2d4117d4449ec072a4bf3dd7b70f4ebe8233adae 100644 (file)
@@ -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;
                }
index b39f5c5d942ad4ab1da41af9c7e83d126d88f41b..f3b14351f725898db22d01893557e59a08ee8563 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    617,
 /**/
     616,
 /**/