mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 10:29:18 +02:00
* Fix handling of options file
This commit is contained in:
parent
9e60c686b4
commit
850685844b
@ -392,7 +392,11 @@ begin
|
|||||||
FAPISecret:=ReadString(SConfig,keyAPI,'');
|
FAPISecret:=ReadString(SConfig,keyAPI,'');
|
||||||
FCrossOriginIsolation:=ReadBool(SConfig,KeyCOI,FCrossOriginIsolation);
|
FCrossOriginIsolation:=ReadBool(SConfig,KeyCOI,FCrossOriginIsolation);
|
||||||
if ValueExists(SConfig,KeyCapture) then
|
if ValueExists(SConfig,KeyCapture) then
|
||||||
|
begin
|
||||||
|
FCaptureFileName:=ReadString(SConfig,keyCapture,'');
|
||||||
|
if FCaptureFileName='' then
|
||||||
|
FCaptureFileName:='-';
|
||||||
|
end;
|
||||||
L:=TstringList.Create;
|
L:=TstringList.Create;
|
||||||
ReadSectionValues(SProxy,L,[]);
|
ReadSectionValues(SProxy,L,[]);
|
||||||
For I:=0 to L.Count-1 do
|
For I:=0 to L.Count-1 do
|
||||||
|
Loading…
Reference in New Issue
Block a user