fix warning
This commit is contained in:
@@ -162,8 +162,8 @@ ScreenSelectMaster::ScreenSelectMaster( CString sClassName ) : ScreenSelect( sCl
|
|||||||
--from;
|
--from;
|
||||||
--to;
|
--to;
|
||||||
|
|
||||||
if( from < 0 || from >= m_aModeChoices.size() ||
|
if( from >= m_aModeChoices.size() ||
|
||||||
to < 0 || to >= m_aModeChoices.size() )
|
to >= m_aModeChoices.size() )
|
||||||
{
|
{
|
||||||
LOG->Warn( "%s::OptionOrder%s out of range", m_sName.c_str(), dirname.c_str() );
|
LOG->Warn( "%s::OptionOrder%s out of range", m_sName.c_str(), dirname.c_str() );
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user