fix compilation of non-windows targets.

This commit is contained in:
Christoph Oelckers 2023-10-08 19:07:11 +02:00
parent 74f6ff0c03
commit 3614d03e1b

View file

@ -184,7 +184,7 @@ TArray<FString> I_GetSteamPath()
FString regPath = appSupportPath + "/Steam/config/config.vdf"; FString regPath = appSupportPath + "/Steam/config/config.vdf";
try try
{ {
SteamInstallFolders = ParseSteamRegistry(regPath); SteamInstallFolders = ParseSteamRegistry(regPath.GetChars());
} }
catch(class CRecoverableError& error) catch(class CRecoverableError& error)
{ {
@ -207,7 +207,7 @@ TArray<FString> I_GetSteamPath()
try try
{ {
SteamInstallFolders = ParseSteamRegistry(regPath); SteamInstallFolders = ParseSteamRegistry(regPath.GetChars());
} }
catch(class CRecoverableError &error) catch(class CRecoverableError &error)
{ {