From 0224be8159d2e84e818804ef522fb335ad8af3f2 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sun, 18 Sep 2016 23:52:57 +0200 Subject: [PATCH] - shellexec: fix header/scrollbar dimensions and positions --- shellexec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shellexec.c b/shellexec.c index 80e94fc..7d57bc5 100644 --- a/shellexec.c +++ b/shellexec.c @@ -1301,7 +1301,7 @@ static void ShowInfo(MENU *m, int knew ) int dy, my, moffs, mh, toffs, soffs=4, oldx=startx, oldy=starty, sbar=0, nosel; PLISTENTRY pl; - moffs=iyw/(MAX_FUNCS+1); + moffs=iyw/(MAX_FUNCS+1)+5; mh=iyw-moffs; dy=mh/(MAX_FUNCS+1); toffs=dy/2; @@ -1316,7 +1316,7 @@ static void ShowInfo(MENU *m, int knew ) RenderBox(0, 0, ixw, iyw, radius, CMC); // titlebar - RenderBox(0, 0, ixw, moffs+5, radius, CMH); + RenderBox(0, 0, ixw, moffs, radius, CMH); for(loop=MAX_FUNCS*(index/MAX_FUNCS); loopnum_entrys && !sbar; loop++) { -- 2.39.5