summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-09 15:33:31 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-09 15:33:31 +0100
commit4dd8fe0b4f49ec267640fb457672452825b11df0 (patch)
tree1c25bc51db2251b5df692baf450ebab4dca74aea /src/ex_cmds.c
parent34059e7b67ae8a58dc2471b309afe05d9dde760f (diff)
downloadvim-git-4dd8fe0b4f49ec267640fb457672452825b11df0.tar.gz
patch 8.1.2273: wrong default when "pos" is changed with popup_atcursor()v8.1.2273
Problem: Wrong default when "pos" is changed with popup_atcursor(). Solution: Adjust the default line and col when "pos" is not the default value. (#5151)
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index a7f80a80a..db5fecd5b 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -4960,7 +4960,7 @@ prepare_tagpreview(
{
wp = popup_find_preview_window();
if (wp != NULL)
- popup_set_wantpos_cursor(wp, wp->w_minwidth);
+ popup_set_wantpos_cursor(wp, wp->w_minwidth, NULL);
}
else if (use_popup != USEPOPUP_NONE)
{