From: Bram Moolenaar Date: Wed, 11 Nov 2009 16:07:20 +0000 (+0000) Subject: updated for version 7.2-291 X-Git-Tag: v7.2.291 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5462018872b4623c97dfa71b36cd14b94476c7fe;p=vim updated for version 7.2-291 --- diff --git a/src/screen.c b/src/screen.c index b7107b625..5acc7dc40 100644 --- a/src/screen.c +++ b/src/screen.c @@ -6413,7 +6413,8 @@ screen_puts_len(text, len, row, col, attr) } else { - nc = utfc_ptr2char(ptr + mbyte_blen, pcc); + nc = utfc_ptr2char_len(ptr + mbyte_blen, pcc, + (int)((text + len) - ptr - mbyte_blen)); nc1 = pcc[0]; } pc = prev_c; diff --git a/src/version.c b/src/version.c index 474ae3f4a..7654400bc 100644 --- a/src/version.c +++ b/src/version.c @@ -681,6 +681,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 291, /**/ 290, /**/