]> granicus.if.org Git - vim/commitdiff
updated for version 7.2.411 v7.2.411
authorBram Moolenaar <Bram@vim.org>
Tue, 23 Mar 2010 17:22:46 +0000 (18:22 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 23 Mar 2010 17:22:46 +0000 (18:22 +0100)
Problem:    When parsing 'cino' a comma isn't skipped properly.
Solution:   Skip the comma. (Lech Lorens)

src/misc1.c
src/version.c

index f67f9c6a59f221c05bcc9ec3eb819c91a33cf3f6..ffd0b831dbaf1b66fdce91659eba27290a289612 100644 (file)
@@ -6270,6 +6270,8 @@ get_c_indent()
            case 'l': ind_keep_case_label = n; break;
            case '#': ind_hash_comment = n; break;
        }
+       if (*options == ',')
+           ++options;
     }
 
     /* remember where the cursor was when we started */
index 9cff4cea0c11a1d9624efbf54673d82a4c1f6ccb..ef9b5edb2af1c1ba093861bce72c1cf2f44ea299 100644 (file)
@@ -681,6 +681,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    411,
 /**/
     410,
 /**/