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:
parent
b3b9bf809e
commit
8761ec8749
@ -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);
|
||||
|
@ -2,7 +2,7 @@
|
||||
"UpdateLazPackages" : [
|
||||
{
|
||||
"ForceNotify" : true,
|
||||
"InternalVersion" : 171,
|
||||
"InternalVersion" : 172,
|
||||
"Name" : "cef4delphi_lazarus.lpk",
|
||||
"Version" : "84.3.8.0"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user