fix compilation of non-windows targets.

This commit is contained in:
Christoph Oelckers 2023-10-08 19:07:11 +02:00
parent 603ab5dd73
commit 41a52f0973

View file

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