comparison src/popupwin.c @ 17168:1d30eb64a7a2 v8.1.1583

patch 8.1.1583: set_ref_in_list() only sets ref in items commit https://github.com/vim/vim/commit/7be3ab25891fec711d8a2d9d242711a9155852b6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 23 01:46:15 2019 +0200 patch 8.1.1583: set_ref_in_list() only sets ref in items Problem: Set_ref_in_list() only sets ref in items. Solution: Rename to set_ref_in_list_items() to avoid confusion.
author Bram Moolenaar <Bram@vim.org>
date Sun, 23 Jun 2019 02:00:06 +0200
parents 59a4e78ccc5c
children 23609a6d8cc7
comparison
equal deleted inserted replaced
17167:3a799cd410d4 17168:1d30eb64a7a2
2295 { 2295 {
2296 tv.v_type = VAR_PARTIAL; 2296 tv.v_type = VAR_PARTIAL;
2297 tv.vval.v_partial = wp->w_filter_cb.cb_partial; 2297 tv.vval.v_partial = wp->w_filter_cb.cb_partial;
2298 abort = abort || set_ref_in_item(&tv, copyID, NULL, NULL); 2298 abort = abort || set_ref_in_item(&tv, copyID, NULL, NULL);
2299 } 2299 }
2300 if (wp->w_popup_mask != NULL && wp->w_popup_mask->lv_copyID != copyID) 2300 abort = abort || set_ref_in_list(wp->w_popup_mask, copyID);
2301 {
2302 wp->w_popup_mask->lv_copyID = copyID;
2303 abort = abort || set_ref_in_list(wp->w_popup_mask, copyID, NULL);
2304 }
2305 return abort; 2301 return abort;
2306 } 2302 }
2307 2303
2308 /* 2304 /*
2309 * Set reference in callbacks of popup windows. 2305 * Set reference in callbacks of popup windows.