commit | 65549bdef5805ba5a18a3d2d3909998dd7d9ed46 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jul 08 22:52:37 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jul 08 22:52:37 2016 +0200 |
tree | d0675363fe6334281421c979a3099c8304efe63f | |
parent | 144445d15f2369a58b94b6fee2fe162fc81c8abe [diff] [blame] |
patch 7.4.2004 Problem: GUI: cursor displayed in the wrong position. Solution: Correct screen_cur_col and screen_cur_row.
diff --git a/src/screen.c b/src/screen.c index 4ddded9..7c4ee30 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -764,6 +764,8 @@ gui.col = gui_cursor_col; gui.row = gui_cursor_row; gui_update_cursor(FALSE, FALSE); + screen_cur_col = gui.col; + screen_cur_row = gui.row; } gui_update_scrollbars(FALSE); }