Lowercase instead of uppercase the string

This commit is contained in:
NepDisk 2026-02-11 19:56:05 -05:00
parent eed7625a45
commit 1fc21e1286

View file

@ -464,7 +464,7 @@ FUNCINLINE static ATTRINLINE UINT32 W_HashLumpName(const char *name, size_t len)
{ {
char *uname = (char *)alloca(len + 1); char *uname = (char *)alloca(len + 1);
strlcpy(uname, name, len + 1); strlcpy(uname, name, len + 1);
strupr(uname); strlwr(uname);
return HASH32(uname, len); return HASH32(uname, len);
} }