fix center mode not actually being centered

This commit is contained in:
speedie 2023-04-04 00:06:03 +02:00
parent 854461e046
commit 4571a5fa97

View file

@ -607,7 +607,7 @@ setupdisplay(void)
match(); // match entries
// create menu window and set properties for it
create_window(x + sp, y + vp - (menuposition == 1 ? 0 : borderwidth * 2), mw - 2 * sp - borderwidth * 2, mh);
create_window(x + sp, y + vp - (menuposition == 1 ? 0 : menuposition == 2 ? borderwidth : borderwidth * 2), mw - 2 * sp - borderwidth * 2, mh);
set_window();
set_prop();