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.
2 parents 17b04ba + 5e2efe3 commit 1ab309dCopy full SHA for 1ab309d
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