diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-11-09 15:33:31 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-11-09 15:33:31 +0100 |
commit | 4dd8fe0b4f49ec267640fb457672452825b11df0 (patch) | |
tree | 1c25bc51db2251b5df692baf450ebab4dca74aea /src/ex_cmds.c | |
parent | 34059e7b67ae8a58dc2471b309afe05d9dde760f (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index a7f80a80a8..db5fecd5b7 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) { |