Fixed: wrong version committed
This commit is contained in:
parent
330ba47f5e
commit
ccda940d01
@ -206,18 +206,16 @@ begin
|
|||||||
pDefine := FFactory.GetDefine(FSection, AName);
|
pDefine := FFactory.GetDefine(FSection, AName);
|
||||||
|
|
||||||
if not InternalReadBool(AName, Result) then
|
if not InternalReadBool(AName, Result) then
|
||||||
begin
|
|
||||||
if Assigned(pDefine) then
|
if Assigned(pDefine) then
|
||||||
Result := pDefine.Value
|
Result := pDefine.Value
|
||||||
else
|
else
|
||||||
raise EX2SettingsUndefined.CreateFmt(RSUndefined, [AName])
|
raise EX2SettingsUndefined.CreateFmt(RSUndefined, [AName])
|
||||||
|
|
||||||
if Assigned(pDefine) then
|
if Assigned(pDefine) then
|
||||||
begin
|
begin
|
||||||
vValue := Result;
|
vValue := Result;
|
||||||
pDefine.Action(saRead, FSection, AName, vValue);
|
pDefine.Action(saRead, FSection, AName, vValue);
|
||||||
Result := vValue;
|
Result := vValue;
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user