Skip to content

Commit 5e2efe3

Browse files
committed
Fix mistake from 373bb69
1 parent 373bb69 commit 5e2efe3

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)