1
0
mirror of synced 2024-12-22 17:23:07 +01:00

Fixed: wrong version committed

This commit is contained in:
Mark van Renswoude 2004-09-05 14:04:41 +00:00
parent 330ba47f5e
commit ccda940d01

View File

@ -206,18 +206,16 @@ begin
pDefine := FFactory.GetDefine(FSection, AName);
if not InternalReadBool(AName, Result) then
begin
if Assigned(pDefine) then
Result := pDefine.Value
else
raise EX2SettingsUndefined.CreateFmt(RSUndefined, [AName])
if Assigned(pDefine) then
begin
vValue := Result;
pDefine.Action(saRead, FSection, AName, vValue);
Result := vValue;
end;
if Assigned(pDefine) then
begin
vValue := Result;
pDefine.Action(saRead, FSection, AName, vValue);
Result := vValue;
end;
end;