mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 14:50:32 +02:00
LCL-GTK: Fix the order of parameters for FillChar(). Issue #40403.
This commit is contained in:
parent
cbf9d30ddf
commit
92b11e2662
@ -255,7 +255,7 @@ var
|
||||
AForm: TCustomForm;
|
||||
begin
|
||||
Result := True;
|
||||
FillChar(Message, 0, SizeOf(Message));
|
||||
FillChar(Message, SizeOf(Message), 0);
|
||||
AForm := TCustomForm(WidgetInfo^.LCLObject);
|
||||
Message.Width := AForm.Width;
|
||||
Message.Height := AForm.Height;
|
||||
@ -300,7 +300,7 @@ begin
|
||||
if not GDK_WINDOW_GET_MINIMIZED(PGdkWindowPrivate(Widget^.Window)) then Exit;
|
||||
|
||||
Result := True;
|
||||
FillChar(Message, 0, SizeOf(Message));
|
||||
FillChar(Message, SizeOf(Message), 0);
|
||||
AForm := TCustomForm(WidgetInfo^.LCLObject);
|
||||
Message.Msg := LM_SIZE;
|
||||
Message.SizeType := SIZEICONIC or Size_SourceIsInterface;
|
||||
|
Loading…
Reference in New Issue
Block a user