Change up strcasecmp/strncasecmp to be more C++y
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ static void TexMgr_TextureMode_f(convar *var) {
|
||||
}
|
||||
|
||||
for (i = 0; i < NUM_GLMODES; i++) {
|
||||
if (!q_strcasecmp(glmodes[i].name, gl_texturemode.string)) {
|
||||
if (std::is_eq(common::strcasecmp(glmodes[i].name, gl_texturemode.string))) {
|
||||
gl_texturemode.set(glmodes[i].name);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user