mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-25 21:41:55 +00:00
two minor backend fixes
This commit is contained in:
parent
b0b3f00d18
commit
1298f17c38
2 changed files with 2 additions and 2 deletions
|
@ -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 ();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue