]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-293 v7.2.293
authorBram Moolenaar <Bram@vim.org>
Wed, 11 Nov 2009 16:30:08 +0000 (16:30 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 11 Nov 2009 16:30:08 +0000 (16:30 +0000)
src/misc1.c
src/version.c

index bb15d429d6739893de10b640fccde6f1fd2d5c5c..f7da7c491174ff74f35298a356b114d379097967 100644 (file)
@@ -1026,12 +1026,14 @@ open_line(dir, flags, old_indent)
                    int         c = 0;
                    int         off = 0;
 
-                   for (p = lead_flags; *p && *p != ':'; ++p)
+                   for (p = lead_flags; *p != NUL && *p != ':'; )
                    {
                        if (*p == COM_RIGHT || *p == COM_LEFT)
-                           c = *p;
+                           c = *p++;
                        else if (VIM_ISDIGIT(*p) || *p == '-')
                            off = getdigits(&p);
+                       else
+                           ++p;
                    }
                    if (c == COM_RIGHT)    /* right adjusted leader */
                    {
index 0d03b6cc50a18664ab9a6a989ef1495978a95bce..2ee84208fc9ca1e1bf52e9f4bc76c1ec12f56100 100644 (file)
@@ -681,6 +681,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    293,
 /**/
     292,
 /**/