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:
parent
4caec176f1
commit
6245e81b59
|
@ -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 '<':
|
||||
|
|
Loading…
Reference in New Issue