diff --git a/radiant/texwindow.cpp b/radiant/texwindow.cpp index b103cf76..08839db2 100644 --- a/radiant/texwindow.cpp +++ b/radiant/texwindow.cpp @@ -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 ) )