From: Bram Moolenaar Date: Wed, 7 Oct 2009 14:20:30 +0000 (+0000) Subject: updated for version 7.2-267 X-Git-Tag: v7.2.267 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8701cd6a226fa0b79de7f32fb700e7bf3eb05dbd;p=vim updated for version 7.2-267 --- 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 @@ -676,6 +676,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 267, /**/ 266, /**/