fix assert

This commit is contained in:
Glenn Maynard
2005-07-05 05:24:30 +00:00
parent 1f0ce78d5a
commit 95bc380261
+3 -3
View File
@@ -29,11 +29,11 @@ ScreenUnlock::ScreenUnlock( CString sClassName ) : ScreenAttract( sClassName )
{
LOG->Trace("ScreenUnlock::ScreenUnlock()");
unsigned NumUnlocks = UNLOCKMAN->m_UnlockEntries.size();
unsigned iNumUnlocks = UNLOCKMAN->m_UnlockEntries.size();
if (!PREFSMAN->m_bUseUnlockSystem || NumUnlocks == 0)
if( !PREFSMAN->m_bUseUnlockSystem || iNumUnlocks == 0 )
{
this->HandleScreenMessage( SM_GoToNextScreen );
this->PostScreenMessage( SM_GoToNextScreen, 0 );
return;
}
}