Amend previous commit

git-svn-id: https://svn.eduke32.com/eduke32@6687 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2018-02-22 14:09:38 +00:00
parent 63d93e8d9f
commit 7a9684e350

View file

@ -4326,7 +4326,7 @@ static void Menu_RunScrollbar(Menu_t *cm, MenuMenuFormat_t const * const format,
if (ud.menu_scrollbartilenum >= 0)
{
scrollregionstart += tilesiz[scrollTileTop].y*ud.menu_scrollbarz;
scrollregionend += tilesiz[scrollTileBottom].y*ud.menu_scrollbarz;
scrollregionend -= tilesiz[scrollTileBottom].y*ud.menu_scrollbarz;
}
const int32_t scrollregionheight = scrollregionend - scrollregionstart - (tilesiz[scrollTileCursor].y*ud.menu_scrollcursorz);
const int32_t scrollPosMax = totalextent - klabs(format->bottomcutoff);