Skip to content

Commit

Permalink
Merge pull request #8 from cwollenhaupt/develop
Browse files Browse the repository at this point in the history
FIX: Variable lcPath not found (issue #6)
  • Loading branch information
cwollenhaupt authored Aug 31, 2021
2 parents b1e4599 + e36b279 commit 2ff4344
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FoxPro/cefsharpbrowser.prg
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,10 @@ Procedure GlobalInit (toBridge)
*--------------------------------------------------------------------------------------
* Initialize Cef.
*--------------------------------------------------------------------------------------
Local loCefSettings, loCefCommandLineArgs
Local loCefSettings, loCefCommandLineArgs, lcPath
If m.lcVersion == "cef-bin-v65"
loCefSettings = toBridge.CreateInstance("CefSharp.CefSettings")
lcPath = Addbs (This.GetCefSharpPath ())
loCefSettings.ResourcesDirPath = m.lcPath
loCefSettings.BrowserSubprocessPath = m.lcPath + "CefSharp.BrowserSubprocess.exe"
Else
Expand Down

0 comments on commit 2ff4344

Please sign in to comment.