summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-10-07 14:20:30 +0000
committerBram Moolenaar <Bram@vim.org>2009-10-07 14:20:30 +0000
commit8701cd6a226fa0b79de7f32fb700e7bf3eb05dbd (patch)
tree91e94e1acf4d0f4833e41648827f4fd0202d9cd5
parentda9591ecfd31fab84e9fbca393b198e4de2de880 (diff)
downloadvim-git-8701cd6a226fa0b79de7f32fb700e7bf3eb05dbd.tar.gz
updated for version 7.2-267v7.2.267
-rw-r--r--src/charset.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/charset.c b/src/charset.c
index 0535d4cfc..cc02563b2 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1218,6 +1218,8 @@ in_win_border(wp, vcol)
if ((int)vcol == width1 - 1)
return TRUE;
width2 = width1 + win_col_off2(wp);
+ if (width2 <= 0)
+ return FALSE;
return ((vcol - width1) % width2 == width2 - 1);
}
#endif /* FEAT_MBYTE */
diff --git a/src/version.c b/src/version.c
index 1a7e76527..a1e052c4d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -677,6 +677,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 267,
+/**/
266,
/**/
265,