]> granicus.if.org Git - vim/commit
patch 8.2.4555: getmousepos() returns the wrong column v8.2.4555
authorBram Moolenaar <Bram@vim.org>
Sun, 13 Mar 2022 12:06:07 +0000 (12:06 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 13 Mar 2022 12:06:07 +0000 (12:06 +0000)
commit986b0fd0c550d9834a3cc45dd87555c13152c391
treeb3530c9948abf4198766e3695bd5402028fd1972
parentbadf04f5c219743cd6645ff1f1fe88badf4af4c5
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.
src/mouse.c
src/testdir/test_functions.vim
src/version.c