summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-08 22:52:37 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-08 22:52:37 +0200
commit65549bdef5805ba5a18a3d2d3909998dd7d9ed46 (patch)
treed0675363fe6334281421c979a3099c8304efe63f
parent144445d15f2369a58b94b6fee2fe162fc81c8abe (diff)
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.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index 4ddded9bfc..7c4ee3064d 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 598135cc58..3429bf015e 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,