diff --git a/source/uCEFChromiumCore.pas b/source/uCEFChromiumCore.pas index a3946368..4e5f176e 100644 --- a/source/uCEFChromiumCore.pas +++ b/source/uCEFChromiumCore.pas @@ -6093,7 +6093,10 @@ begin while (i < Count) do if (TBrowserInfo(Items[i]).ID = aID) then - exit(i) + begin + Result := i; + exit; + end else inc(i); diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 89afc513..aa5f25bd 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 133, + "InternalVersion" : 134, "Name" : "cef4delphi_lazarus.lpk", "Version" : "81.3.2.0" }