From 6245e81b59fb3c92c90f1b419e5c2eeaad2ca6a0 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 29 Apr 2010 16:30:59 +0000 Subject: [PATCH] Restore the exact paging in watching-menu. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@535 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- dgamelaunch.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 '<':