Another simple one.

This commit is contained in:
Jason Felds
2013-04-30 23:02:20 -04:00
parent 9cbcf304a6
commit 860699988b
+3 -3
View File
@@ -176,12 +176,12 @@ void InputHandler::Create( const RString &drivers_, vector<InputHandler *> &Add
if( DriversToTry.empty() )
RageException::Throw( "%s", INPUT_HANDLERS_EMPTY.GetValue().c_str() );
FOREACH_CONST( RString, DriversToTry, s )
for (RString const &s : DriversToTry)
{
RageDriver *pDriver = InputHandler::m_pDriverList.Create( *s );
RageDriver *pDriver = InputHandler::m_pDriverList.Create( s );
if( pDriver == NULL )
{
LOG->Trace( "Unknown Input Handler name: %s", s->c_str() );
LOG->Trace( "Unknown Input Handler name: %s", s.c_str() );
continue;
}