]> granicus.if.org Git - vim/commitdiff
patch 7.4.2004 v7.4.2004
authorBram Moolenaar <Bram@vim.org>
Fri, 8 Jul 2016 20:52:37 +0000 (22:52 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 8 Jul 2016 20:52:37 +0000 (22:52 +0200)
Problem:    GUI: cursor displayed in the wrong position.
Solution:   Correct screen_cur_col and screen_cur_row.

src/screen.c
src/version.c

index 4ddded9bfc47e99368e2f9f8ddb588feb0debc4d..7c4ee3064d86bb2523f536326838d9661383512d 100644 (file)
@@ -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);
     }
index 598135cc581e8072eef33883c08ffe02c681a1be..3429bf015eee2e3863cf70c3ed852b946fd5eefa 100644 (file)
@@ -758,6 +758,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2004,
 /**/
     2003,
 /**/