0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.4555: getmousepos() returns the wrong column

Problem:    getmousepos() returns the wrong column. (Ernie Rael)
Solution:   Limit to the text size, not the number of bytes.
This commit is contained in:
Bram Moolenaar
2022-03-13 12:06:07 +00:00
parent badf04f5c2
commit 986b0fd0c5
3 changed files with 30 additions and 5 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4555,
/**/
4554,
/**/