From: svenhoefer Date: Sun, 18 Sep 2016 21:52:57 +0000 (+0200) Subject: - shellexec: fix header/scrollbar dimensions and positions X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=0224be8159d2e84e818804ef522fb335ad8af3f2;p=shellexec.git - shellexec: fix header/scrollbar dimensions and positions --- 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++) {