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

Fixed: previous fix now actually compiles

This commit is contained in:
Mark van Renswoude 2005-11-29 14:01:41 +00:00
parent 796b67418e
commit ee148afa98

View File

@ -69,7 +69,7 @@ begin
WriteBool('Maximized', (AForm.WindowState = wsMaximized)); WriteBool('Maximized', (AForm.WindowState = wsMaximized));
pPlacement.length := SizeOf(TWindowPlacement); pPlacement.length := SizeOf(TWindowPlacement);
if GetWindowPlacement(AForm.Handle, @pPlacement) <> 0 then if GetWindowPlacement(AForm.Handle, @pPlacement) then
with pPlacement.rcNormalPosition do with pPlacement.rcNormalPosition do
begin begin
WriteInteger('Left', Left); WriteInteger('Left', Left);