summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-06-28 20:45:26 +0200
committerBram Moolenaar <Bram@vim.org>2017-06-28 20:45:26 +0200
commit9f5f7bf4d5f757ef885acf74ce03c25429a328aa (patch)
treee74e9668d83edd7be6f56de2f9864f182e584496 /src
parente6bf655bc4de1b7f4586e1f5c2fc4978141c3aa3 (diff)
downloadvim-git-9f5f7bf4d5f757ef885acf74ce03c25429a328aa.tar.gz
patch 8.0.0686: extra redraw when using CTRL-L in second windowv8.0.0686
Problem: When typing CTRL-L in a window that's not the first one, another redraw will happen later. (Christian Brabandt) Solution: Reset must_redraw after calling screenclear().
Diffstat (limited to 'src')
-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 3b281a894..f047534e8 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -648,6 +648,8 @@ update_screen(int type_arg)
{
screenclear(); /* will reset clear_cmdline */
type = NOT_VALID;
+ /* must_redraw may be set indirectly, avoid another redraw later */
+ must_redraw = 0;
}
if (clear_cmdline) /* going to clear cmdline (done below) */
diff --git a/src/version.c b/src/version.c
index d595256fa..e659f8cfa 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 686,
+/**/
685,
/**/
684,