From 41a52f09733305d238a199c92784118b19eaefbe Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 8 Oct 2023 19:07:11 +0200 Subject: [PATCH] fix compilation of non-windows targets. --- source/platform/posix/i_steam.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/platform/posix/i_steam.cpp b/source/platform/posix/i_steam.cpp index 94649ee5b..d2dd48300 100644 --- a/source/platform/posix/i_steam.cpp +++ b/source/platform/posix/i_steam.cpp @@ -184,7 +184,7 @@ TArray 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 I_GetSteamPath() try { - SteamInstallFolders = ParseSteamRegistry(regPath); + SteamInstallFolders = ParseSteamRegistry(regPath.GetChars()); } catch(class CRecoverableError &error) {