mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1581: using line() for global popup window doesn't work
Problem: Using line() for global popup window doesn't work. Solution: Set tabpage to "curtab". (closes #6847)
This commit is contained in:
@@ -117,7 +117,7 @@ win_id2wp_tp(int id, tabpage_T **tpp)
|
||||
if (wp->w_id == id)
|
||||
{
|
||||
if (tpp != NULL)
|
||||
*tpp = tp;
|
||||
*tpp = curtab; // any tabpage would do
|
||||
return wp;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user