From 6cad8bd4b03165660b5d9396da83c5446dd8fcc7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 10 Sep 2008 13:39:10 +0000 Subject: updated for version 7.2-014 --- src/eval.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/eval.c b/src/eval.c index 9c8515e03..447d3d781 100644 --- a/src/eval.c +++ b/src/eval.c @@ -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); diff --git a/src/version.c b/src/version.c index d7b670124..099f918f8 100644 --- a/src/version.c +++ b/src/version.c @@ -676,6 +676,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 14, /**/ 13, /**/ -- cgit v1.2.1