add and use path_extension_is()

This commit is contained in:
Garux
2021-10-03 17:13:12 +03:00
parent a0e79e8ecd
commit b6d60fb17c
20 changed files with 50 additions and 63 deletions
+1 -1
View File
@@ -91,7 +91,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 ( path_extension_is( archive, "wad" ) ) {
#if 1
groups.insert( archive );
#else