# HG changeset patch # User Christian Brabandt # Date 1468011606 -7200 # Node ID aaa6639b6f147786cb4b09c289c23898b568bd6d # Parent 66a87d6f2aa1a0cc7bd84340c34049516b7eb5fb commit https://github.com/vim/vim/commit/65549bdef5805ba5a18a3d2d3909998dd7d9ed46 Author: Bram Moolenaar Date: Fri Jul 8 22:52:37 2016 +0200 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 --- 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 --- 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,