diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-06 23:07:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-06 23:07:48 +0100 |
commit | fbcdf671f08cd2c7e60f35574231df0421112d99 (patch) | |
tree | 2d1c50a70da3652e70b5631d0107f08831e43749 /src/popupwin.c | |
parent | 1860bde9d31bbb0ba857f6284f6332a7134030dd (diff) | |
download | vim-git-fbcdf671f08cd2c7e60f35574231df0421112d99.tar.gz |
patch 8.2.0096: cannot create tiny popup window in last columnv8.2.0096
Problem: Cannot create tiny popup window in last column. (Daniel Steinberg)
Solution: Remove position limit. (closes #5447)
Diffstat (limited to 'src/popupwin.c')
-rw-r--r-- | src/popupwin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/popupwin.c b/src/popupwin.c index e65b4bf44..c6296dfd2 100644 --- a/src/popupwin.c +++ b/src/popupwin.c @@ -1222,8 +1222,8 @@ popup_adjust_position(win_T *wp) || wp->w_popup_pos == POPPOS_BOTLEFT)) { wp->w_wincol = wantcol - 1; - if (wp->w_wincol >= Columns - 3) - wp->w_wincol = Columns - 3; + if (wp->w_wincol >= Columns - 1) + wp->w_wincol = Columns - 1; } } |