updated for version 7.2-267
author |
vimboss |
date |
Wed, 07 Oct 2009 14:20:30 +0000 |
parents |
2e915ea7110f |
children |
11c6bda3b53a |
files |
src/charset.c src/version.c |
diffstat |
2 files changed, 4 insertions(+), 0 deletions(-)
[+]
|
line diff
--- 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 */
--- 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,