*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1438 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-11-20 18:31:41 +00:00
parent 71731bc001
commit cbad2f19b2
2 changed files with 2 additions and 6 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ bool menuvisible()
{
menustack.setsize(0);
return false;
};
}
return true;
}
@@ -268,7 +268,7 @@ bool menukey(int code, bool isdown)
int n = curmenu->items.length(), menusel = curmenu->menusel;
if(isdown)
{
int pagesize = MAXMENU - (curmenu->header ? 1 : 0) - (curmenu->footer ? 1 : 0);
int pagesize = MAXMENU - (curmenu->header ? 2 : 0) - (curmenu->footer ? 2 : 0);
if(code==SDLK_PAGEUP) menusel -= pagesize;
else if(code==SDLK_PAGEDOWN)
{