core/MenuStyle_Valve.cpp
changeset 820 958de63aa9f5
parent 819 a2f2353049b9
child 840 5b83f1924e94
     1.1 --- a/core/MenuStyle_Valve.cpp	Mon May 21 01:11:37 2007 +0000
     1.2 +++ b/core/MenuStyle_Valve.cpp	Mon May 21 01:18:55 2007 +0000
     1.3 @@ -325,14 +325,12 @@
     1.4  
     1.5  bool CValveMenu::SetPagination(unsigned int itemsPerPage)
     1.6  {
     1.7 -	if (itemsPerPage < 1 || itemsPerPage > 5)
     1.8 +	if (itemsPerPage > 5)
     1.9  	{
    1.10  		return false;
    1.11  	}
    1.12  
    1.13 -	CBaseMenu::SetPagination(itemsPerPage);
    1.14 -
    1.15 -	return true;
    1.16 +	return CBaseMenu::SetPagination(itemsPerPage);
    1.17  }
    1.18  
    1.19  bool CValveMenu::SetExtOption(MenuOption option, const void *valuePtr)