Skip to content

Commit 8da928b

Browse files
authored
Fix 1.6 build error
1 parent 28e71ed commit 8da928b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/loader/MainFunctions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1832,7 +1832,7 @@ int LaunchGame(SString strCmdLine)
18321832

18331833
const SString strGTAPath = GetGTAPath();
18341834
const SString strMTASAPath = GetMTASAPath();
1835-
const SString strGTAEXEPath = UTF8FilePath(GetGameExecutablePath());
1835+
const SString strGTAEXEPath = GetGameExecutablePath().u8string();
18361836

18371837
if (!ValidatePathSecurity(strGTAPath) || !ValidatePathSecurity(strMTASAPath) || !ValidatePathSecurity(strGTAEXEPath))
18381838
{

0 commit comments

Comments
 (0)