From: Pasi Kallinen Date: Thu, 29 Apr 2010 16:30:59 +0000 (+0000) Subject: Restore the exact paging in watching-menu. X-Git-Tag: v1.6.1-roc-dev~174 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=6245e81b59fb3c92c90f1b419e5c2eeaad2ca6a0;p=dgamelaunch Restore the exact paging in watching-menu. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@535 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- diff --git a/dgamelaunch.c b/dgamelaunch.c index 53c8e6e..6cfa2c6 100644 --- a/dgamelaunch.c +++ b/dgamelaunch.c @@ -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 '<':