mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-02 21:57:37 +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);
|
aValues.Add(aNewValue);
|
||||||
end
|
end
|
||||||
else
|
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;
|
end;
|
||||||
|
|
||||||
procedure TCefApplicationCore.ReplaceSwitch(var aKeys, aValues : TStringList; const aNewKey, aNewValue : ustring);
|
procedure TCefApplicationCore.ReplaceSwitch(var aKeys, aValues : TStringList; const aNewKey, aNewValue : ustring);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"UpdateLazPackages" : [
|
"UpdateLazPackages" : [
|
||||||
{
|
{
|
||||||
"ForceNotify" : true,
|
"ForceNotify" : true,
|
||||||
"InternalVersion" : 171,
|
"InternalVersion" : 172,
|
||||||
"Name" : "cef4delphi_lazarus.lpk",
|
"Name" : "cef4delphi_lazarus.lpk",
|
||||||
"Version" : "84.3.8.0"
|
"Version" : "84.3.8.0"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user