two minor backend fixes

This commit is contained in:
Christoph Oelckers 2023-10-18 20:35:27 +02:00
parent b0b3f00d18
commit 1298f17c38
2 changed files with 2 additions and 2 deletions

View file

@ -538,7 +538,7 @@ void S_ReadReverbDef (FScanner &sc)
while (sc.GetString ())
{
name = strdup (sc.String);
name = copystring(sc.String);
sc.MustGetNumber ();
id1 = sc.Number;
sc.MustGetNumber ();

View file

@ -831,7 +831,7 @@ FString ExpandEnvVars(const char *searchpathstring)
if (length != 0)
{
FString varname = FString(dollar + 1, length);
if (varname.Compare("progdir") == 0)
if (varname.CompareNoCase("progdir") == 0)
{
out += progdir;
}