Another simple one.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user