mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
avoid to misread an unbracketed for loop
This commit is contained in:
parent
bdecace973
commit
8051dd88ca
1 changed files with 2 additions and 0 deletions
|
@ -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 ) )
|
||||
|
|
Loading…
Reference in a new issue