fix GetChars in linux/macOS
This commit is contained in:
parent
6055ff029d
commit
c69941e49d
6 changed files with 27 additions and 27 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue