diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-08 22:52:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-08 22:52:37 +0200 |
commit | 65549bdef5805ba5a18a3d2d3909998dd7d9ed46 (patch) | |
tree | d0675363fe6334281421c979a3099c8304efe63f | |
parent | 144445d15f2369a58b94b6fee2fe162fc81c8abe (diff) | |
download | vim-git-65549bdef5805ba5a18a3d2d3909998dd7d9ed46.tar.gz |
patch 7.4.2004v7.4.2004
Problem: GUI: cursor displayed in the wrong position.
Solution: Correct screen_cur_col and screen_cur_row.
-rw-r--r-- | src/screen.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c index 4ddded9bf..7c4ee3064 100644 --- a/src/screen.c +++ b/src/screen.c @@ -764,6 +764,8 @@ update_screen(int type) 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); } diff --git a/src/version.c b/src/version.c index 598135cc5..3429bf015 100644 --- a/src/version.c +++ b/src/version.c @@ -759,6 +759,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2004, +/**/ 2003, /**/ 2002, |