]> skyeroc.xyz Git - dgamelaunch/commitdiff
Restore the exact paging in watching-menu.
authorPasi Kallinen <paxed@alt.org>
Thu, 29 Apr 2010 16:30:59 +0000 (16:30 +0000)
committerPasi Kallinen <paxed@alt.org>
Thu, 29 Apr 2010 16:30:59 +0000 (16:30 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@535 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

dgamelaunch.c

index 53c8e6e635491b4f2eb1d11d13b5d61984fef92f..6cfa2c69102a513b57c01e9910a96bce6740bacd 100644 (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 '<':