# HG changeset patch # User Bram Moolenaar # Date 1559236505 -7200 # Node ID 48c06fcb8be7a7eb685e7d30f5f79e24698a42b0 # Parent 50b4afe57e9cda1a5ab25b3b7a963604a0c37ec3 patch 8.1.1427: popup window screenshot test fails commit https://github.com/vim/vim/commit/54fabd4b5e373c7f1d794d24d27a30a8bac84da1 Author: Bram Moolenaar Date: Thu May 30 19:03:22 2019 +0200 patch 8.1.1427: popup window screenshot test fails Problem: Popup window screenshot test fails. Solution: Add missing change to popup window code. diff --git a/src/popupwin.c b/src/popupwin.c --- a/src/popupwin.c +++ b/src/popupwin.c @@ -265,6 +265,8 @@ f_popup_create(typval_T *argvars, typval 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) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -768,6 +768,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1427, +/**/ 1426, /**/ 1425,