Skip to content

Commit 1ab309d

Browse files
Synchronize changes from 1.6 branch [ci skip]
5e2efe3 Fix mistake from 373bb69
2 parents 17b04ba + 5e2efe3 commit 1ab309d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Client/cefweb/CWebApp.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ void CWebApp::OnBeforeChildProcessLaunch(CefRefPtr<CefCommandLine> command_line)
9797
// This callback runs in both browser process and subprocess
9898
// In subprocess, g_pCore is NULL, so switches must be added before that check
9999
// Read GTA path from registry
100-
int iResult = 0;
101-
const SString strGTAPath = GetCommonRegistryValue("", "GTA:SA Path", &iResult);
100+
const SString strGTAPath = GetCommonRegistryValue("", "GTA:SA Path");
102101
if (!strGTAPath.empty())
103102
{
104103
// Pass GTA directory path to CEFLauncher subprocess via command-line switch

0 commit comments

Comments
 (0)