diff --git a/stepmania/src/ScreenTestInput.cpp b/stepmania/src/ScreenTestInput.cpp index 21ce77bfcb..d35392d4fc 100644 --- a/stepmania/src/ScreenTestInput.cpp +++ b/stepmania/src/ScreenTestInput.cpp @@ -31,16 +31,18 @@ void ScreenTestInput::Init() { vector vDevices; vector vDescriptions; + vector vs; INPUTMAN->GetDevicesAndDescriptions( vDevices, vDescriptions ); - FOREACH( CString, vDescriptions, s ) + ASSERT( vDevices.size() == vDescriptions.size() ); + for( int i=0; iAddChild( &m_textDevices );