]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-014 v7.2.014
authorBram Moolenaar <Bram@vim.org>
Wed, 10 Sep 2008 13:39:10 +0000 (13:39 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 10 Sep 2008 13:39:10 +0000 (13:39 +0000)
src/eval.c
src/version.c

index 9c8515e039d367bf727a41cca1d49e41453d233b..447d3d781546d00a11e075354371af669b5a7ed8 100644 (file)
@@ -16667,7 +16667,7 @@ f_synstack(argvars, rettv)
     col = get_tv_number(&argvars[1]) - 1;      /* -1 on type error */
 
     if (lnum >= 1 && lnum <= curbuf->b_ml.ml_line_count
-           && col >= 0 && col < (long)STRLEN(ml_get(lnum))
+           && col >= 0 && (col == 0 || col < (long)STRLEN(ml_get(lnum)))
            && rettv_list_alloc(rettv) != FAIL)
     {
        (void)syn_get_id(curwin, lnum, (colnr_T)col, FALSE, NULL, TRUE);
index d7b670124b2cde0b29c2057e27341206cfb918b7..099f918f8a195f8c30f26731ceecf0049499c6eb 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    14,
 /**/
     13,
 /**/