ref: 4802041e17330e1f6952b2ee6e11087e8171bbcb
parent: c095130709566a648844c10b24a8fb8a82917569
author: Jacob Moody <[email protected]>
date: Sat Jan 21 23:59:54 EST 2023
w_wad: restore case insensitive cmp
--- a/w_wad.c
+++ b/w_wad.c
@@ -301,8 +301,8 @@
static int IsMarker(const char *marker, const char *name)
{
- return !strncmp(name, marker, 8) ||
- (*name == *marker && !strncmp(name + 1, marker, 7));
+ return !cistrncmp(name, marker, 8) ||
+ (*name == *marker && !cistrncmp(name + 1, marker, 7));
}
//==========================================================================