fix GetChars in linux/macOS

This commit is contained in:
Ricardo Luís Vaz Silva 2023-10-07 19:34:06 -03:00 committed by Christoph Oelckers
commit c69941e49d
6 changed files with 27 additions and 27 deletions

View file

@ -202,7 +202,7 @@ TArray<FString> I_GetSteamPath()
try
{
SteamInstallFolders = ParseSteamRegistry(regPath);
SteamInstallFolders = ParseSteamRegistry(regPath.GetChars());
}
catch(class CRecoverableError &error)
{
@ -221,7 +221,7 @@ TArray<FString> I_GetSteamPath()
{
struct stat st;
FString candidate(SteamInstallFolders[i] + "/" + AppInfo[app].BasePath);
if(DirExists(candidate))
if(DirExists(candidate.GetChars()))
result.Push(candidate);
}
}