Restore the exact paging in watching-menu.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@535 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Pasi Kallinen 2010-04-29 16:30:59 +00:00
parent 4caec176f1
commit 6245e81b59
1 changed files with 1 additions and 5 deletions

View File

@ -578,11 +578,7 @@ inprogressmenu (int gameid)
}
break;
case '>':
if ((offset + max_height) >= len) {
if (max_height < len) offset = (len - max_height);
else offset = 0;
} else
offset += max_height;
if ((offset + max_height) < (len-1)) offset += max_height;
break;
case '<':