summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2022-02-21 17:56:33 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-21 17:56:33 +0000
commit16b51d26fe2cc3afb09afd439069220dea74581d (patch)
tree5ba1a490b41dc088457e48cfb54a3465c1cd9396
parent83e36c86062d052fa1db48ee27709549b706b6a2 (diff)
downloadvim-git-16b51d26fe2cc3afb09afd439069220dea74581d.tar.gz
patch 8.2.4434: duplicate check for cmdline windowv8.2.4434
Problem: Duplicate check for cmdline window. Solution: Remove the second check. (Sean Dewar, closes #9816)
-rw-r--r--src/version.c2
-rw-r--r--src/window.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c
index 751ae6b7b..6d75667f6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4434,
+/**/
4433,
/**/
4432,
diff --git a/src/window.c b/src/window.c
index f644f9b8c..7da7b89e8 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4324,7 +4324,6 @@ goto_tabpage(int n)
text_locked_msg();
return;
}
- CHECK_CMDWIN;
// If there is only one it can't work.
if (first_tabpage->tp_next == NULL)