1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-02-02 10:25:26 +02:00

Added some string lenth checks in TCefApplicationCore.AppendSwitch

This commit is contained in:
Salvador Díaz Fau 2020-07-30 11:01:43 +02:00
parent b3b9bf809e
commit 8761ec8749
2 changed files with 8 additions and 2 deletions

View File

@ -1636,7 +1636,13 @@ begin
aValues.Add(aNewValue);
end
else
aValues[i] := aValues[i] + ',' + aNewValue;
if (length(aNewValue) > 0) then
begin
if (length(aValues[i]) > 0) then
aValues[i] := aValues[i] + ',' + aNewValue
else
aValues[i] := aNewValue;
end;
end;
procedure TCefApplicationCore.ReplaceSwitch(var aKeys, aValues : TStringList; const aNewKey, aNewValue : ustring);

View File

@ -2,7 +2,7 @@
"UpdateLazPackages" : [
{
"ForceNotify" : true,
"InternalVersion" : 171,
"InternalVersion" : 172,
"Name" : "cef4delphi_lazarus.lpk",
"Version" : "84.3.8.0"
}