]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/texwindow.cpp
radiant/texwindow: test .wad file extension case-insensitively on all systems, fix...
[xonotic/netradiant.git] / radiant / texwindow.cpp
index fee615cfe0fc246562715feb995e3ff343b32f8e..89336949ec01e1d6d9863deda69c162e73becf22 100644 (file)
@@ -100,7 +100,7 @@ bool string_equal_start( const char* string, StringRange start ){
 typedef std::set<CopiedString> TextureGroups;
 
 void TextureGroups_addWad( TextureGroups& groups, const char* archive ){
-       if ( extension_equal( path_get_extension( archive ), "wad" ) ) {
+       if ( extension_equal_i( path_get_extension( archive ), "wad" ) ) {
 #if 1
                groups.insert( archive );
 #else