]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
Garux: replace undefined strnicmp with Q_strncasecmp
authorThomas Debesse <dev@illwieckz.net>
Mon, 11 Feb 2019 08:46:59 +0000 (09:46 +0100)
committerThomas Debesse <dev@illwieckz.net>
Mon, 11 Feb 2019 08:53:49 +0000 (09:53 +0100)
tools/quake3/q3map2/main.c

index c920d30bfda9c551dfc08bb9b7c2ad0e9010c81c..ee3f63e78999479f750cc79ccc32c1964ebdd4ea 100644 (file)
@@ -423,7 +423,7 @@ int pk3BSPMain( int argc, char **argv ){
        epair_t *ep;
        for ( ep = entities[0].epairs; ep != NULL; ep = ep->next )
        {
-               if ( !strnicmp( ep->key, "vertexremapshader", 17 ) ) {
+               if ( !Q_strncasecmp( ep->key, "vertexremapshader", 17 ) ) {
                        sscanf( ep->value, "%*[^;] %*[;] %s", pk3Shaders[pk3ShadersN] );
                        res2list( pk3Shaders, &pk3ShadersN );
                }