]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.1.1427: popup window screenshot test fails v8.1.1427
authorBram Moolenaar <Bram@vim.org>
Thu, 30 May 2019 17:03:22 +0000 (19:03 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 30 May 2019 17:03:22 +0000 (19:03 +0200)
Problem:    Popup window screenshot test fails.
Solution:   Add missing change to popup window code.

src/popupwin.c
src/version.c

index c9265367bfca1d81f9c6a55a3e08d14f1a0d3706..ee59af2eaef87e66775a0a0d3029e2c80393e7ea 100644 (file)
@@ -265,6 +265,8 @@ f_popup_create(typval_T *argvars, typval_T *rettv)
     buf->b_p_swf = FALSE;   // no swap file
     buf->b_p_bl = FALSE;    // unlisted buffer
     buf->b_locked = TRUE;
+    // Avoid that 'buftype' is reset when this buffer is entered.
+    buf->b_p_initialized = TRUE;
 
     nr = (int)dict_get_number(d, (char_u *)"tab");
     if (nr == 0)
index 0420cb60bb41239c2fc60360b633b92f1b6ba67c..282d045e652ea4773cb73e922ba6f79d36c9500a 100644 (file)
@@ -767,6 +767,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1427,
 /**/
     1426,
 /**/