summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@zimbu.org>2010-03-23 18:22:46 +0100
committerBram Moolenaar <bram@zimbu.org>2010-03-23 18:22:46 +0100
commit15e4f2563bb9d2a0aec88b47a2af9a21c64cd22e (patch)
tree286bb1ab0cf2d27c69654e57ac24a95b6ea3d748
parent880bf528e0b37805ce9c31996586c30ac9adb8f7 (diff)
downloadvim-15e4f2563bb9d2a0aec88b47a2af9a21c64cd22e.tar.gz
updated for version 7.2.411v7.2.411v7-2-411
Problem: When parsing 'cino' a comma isn't skipped properly. Solution: Skip the comma. (Lech Lorens)
-rw-r--r--src/misc1.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/misc1.c b/src/misc1.c
index f67f9c6a..ffd0b831 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -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 */
diff --git a/src/version.c b/src/version.c
index 9cff4cea..ef9b5edb 100644
--- a/src/version.c
+++ b/src/version.c
@@ -682,6 +682,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 411,
+/**/
410,
/**/
409,