patch 8.2.0096: cannot create tiny popup window in last column
Problem: Cannot create tiny popup window in last column. (Daniel Steinberg)
Solution: Remove position limit. (closes #5447)
diff --git a/src/popupwin.c b/src/popupwin.c
index e65b4bf..c6296df 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -1222,8 +1222,8 @@
|| 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;
}
}