summaryrefslogtreecommitdiff
path: root/src/evalwindow.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-03 18:52:24 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-03 18:52:24 +0200
commit1f42f5a675fdab9ce5cdafbecea59c45e81f7ff8 (patch)
tree40d1a9caf029fa2c88a94c7e4169da987cfc60e6 /src/evalwindow.c
parenta60053b8f4cc7e135ba9496a8f4855d26aee09e7 (diff)
downloadvim-git-1f42f5a675fdab9ce5cdafbecea59c45e81f7ff8.tar.gz
patch 8.2.1581: using line() for global popup window doesn't workv8.2.1581
Problem: Using line() for global popup window doesn't work. Solution: Set tabpage to "curtab". (closes #6847)
Diffstat (limited to 'src/evalwindow.c')
-rw-r--r--src/evalwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalwindow.c b/src/evalwindow.c
index b50776d74..3ddd96bcb 100644
--- a/src/evalwindow.c
+++ b/src/evalwindow.c
@@ -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