Skip to content

Commit

Permalink
two minor backend fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Oct 18, 2023
1 parent 253a629 commit 71f007b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/common/audio/sound/s_environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down
2 changes: 1 addition & 1 deletion source/common/utility/cmdlib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 71f007b

Please sign in to comment.