diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-11-11 16:07:20 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-11-11 16:07:20 +0000 |
commit | 5462018872b4623c97dfa71b36cd14b94476c7fe (patch) | |
tree | e88db63259775c57e31e91b1ac7de37f6be4a176 | |
parent | 21160b9808e80be5b254bf5f1bd9afce593d495b (diff) | |
download | vim-git-5462018872b4623c97dfa71b36cd14b94476c7fe.tar.gz |
updated for version 7.2-291v7.2.291
-rw-r--r-- | src/screen.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 1 deletions
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 @@ -682,6 +682,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 291, +/**/ 290, /**/ 289, |