We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 373bb69 commit 5e2efe3Copy full SHA for 5e2efe3
Client/cefweb/CWebApp.cpp
@@ -97,8 +97,7 @@ void CWebApp::OnBeforeChildProcessLaunch(CefRefPtr<CefCommandLine> command_line)
97
// This callback runs in both browser process and subprocess
98
// In subprocess, g_pCore is NULL, so switches must be added before that check
99
// Read GTA path from registry
100
- int iResult = 0;
101
- const SString strGTAPath = GetCommonRegistryValue("", "GTA:SA Path", &iResult);
+ const SString strGTAPath = GetCommonRegistryValue("", "GTA:SA Path");
102
if (!strGTAPath.empty())
103
{
104
// Pass GTA directory path to CEFLauncher subprocess via command-line switch
0 commit comments