]> granicus.if.org Git - vim/commit
patch 8.2.2152: screenpos() does not include the WinBar offset v8.2.2152
authorBram Moolenaar <Bram@vim.org>
Thu, 17 Dec 2020 20:35:29 +0000 (21:35 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 17 Dec 2020 20:35:29 +0000 (21:35 +0100)
commit8dd46e72cfb13b8de793c808ee009c45e881903a
treeaeab92f8eecfaacb74b8c94674f5c4408cc4d4fc
parenta79a8944dade9115ccaa5a06a076dfb257e56c62
patch 8.2.2152: screenpos() does not include the WinBar offset

Problem:    screenpos() does not include the WinBar offset.
Solution:   Use W_WINROW() instead of directly using w_window. (closes #7487)
src/move.c
src/testdir/test_cursor_func.vim
src/version.c