mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-25 05:48:03 -04:00
convert WAD file names to lower case in GetAutoloadDir()
This commit is contained in:
parent
b3dc68f04c
commit
d16bd5869b
@ -694,8 +694,12 @@ static char **autoload_paths = NULL;
|
||||
static char *GetAutoloadDir(const char *base, const char *iwadname, boolean createdir)
|
||||
{
|
||||
char *result;
|
||||
char *lower;
|
||||
|
||||
result = M_StringJoin(base, DIR_SEPARATOR_S, iwadname, NULL);
|
||||
lower = M_StringDuplicate(iwadname);
|
||||
M_ForceLowercase(lower);
|
||||
result = M_StringJoin(base, DIR_SEPARATOR_S, lower, NULL);
|
||||
(free)(lower);
|
||||
|
||||
if (createdir)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user