]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.4434: duplicate check for cmdline window v8.2.4434
authorSean Dewar <seandewar@users.noreply.github.com>
Mon, 21 Feb 2022 17:56:33 +0000 (17:56 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 21 Feb 2022 17:56:33 +0000 (17:56 +0000)
Problem:    Duplicate check for cmdline window.
Solution:   Remove the second check. (Sean Dewar, closes #9816)

src/version.c
src/window.c

index 751ae6b7bdc1c810aeee217d3e34cfe28cdb6657..6d75667f66454326638908b0b75cdfdeb5a89f8f 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4434,
 /**/
     4433,
 /**/
index f644f9b8c9fd251f1cb2a35ba27fcb035d4a3e86..7da7b89e858f0aafd29cf20dcf893a0be78af6e3 100644 (file)
@@ -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)