Change up strcasecmp/strncasecmp to be more C++y
This commit is contained in:
+2
-2
@@ -169,7 +169,7 @@ snd_stream_t *S_CodecOpenStreamExt (const char *filename, bool loop)
|
||||
codec = codecs;
|
||||
while (codec)
|
||||
{
|
||||
if (!q_strcasecmp(ext, codec->ext))
|
||||
if (std::is_eq(common::strcasecmp(ext, codec->ext)))
|
||||
break;
|
||||
codec = codec->next;
|
||||
}
|
||||
@@ -220,7 +220,7 @@ snd_stream_t *S_CodecOpenStreamAny (const char *filename, bool loop)
|
||||
codec = codecs;
|
||||
while (codec)
|
||||
{
|
||||
if (!q_strcasecmp(ext, codec->ext))
|
||||
if (std::is_eq(common::strcasecmp(ext, codec->ext)))
|
||||
break;
|
||||
codec = codec->next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user