avoid to misread an unbracketed for loop

This commit is contained in:
Thomas Debesse 2017-08-30 04:02:21 +02:00
parent bdecace973
commit 8051dd88ca
1 changed files with 2 additions and 0 deletions

View File

@ -711,10 +711,12 @@ void FillTextureList( GSList** pArray )
}
for ( GSList *tmp = texdirs; tmp; tmp = g_slist_next( tmp ) )
{
if ( !strcasecmp( (char*)tmp->data, shaderfile ) ) {
found = TRUE;
break;
}
}
if ( !found ) {
if( QERApp_IsDirContainingShaders( shaderfile ) )