From ffb487e45c26dccd20285849979be1cb261c52f6 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Mon, 11 Feb 2019 09:46:59 +0100 Subject: [PATCH] Garux: replace undefined strnicmp with Q_strncasecmp --- tools/quake3/q3map2/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/quake3/q3map2/main.c b/tools/quake3/q3map2/main.c index c920d30b..ee3f63e7 100644 --- a/tools/quake3/q3map2/main.c +++ b/tools/quake3/q3map2/main.c @@ -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 ); } -- 2.39.2