diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-01-12 16:57:07 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-01-12 16:57:07 +0200 |
commit | 83917097939ed1bf973e318f53511e75320d8e23 (patch) | |
tree | d09badc81dfb7023fb7920e5049f8f64e642a9ab | |
parent | 09fe6aecaf3a922b4c2c6c961e9cec2214b1c1ec (diff) | |
download | fpGUI-83917097939ed1bf973e318f53511e75320d8e23.tar.xz |
UI Designer: minor code cleanup.
-rw-r--r-- | uidesigner/vfddesigner.pas | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/uidesigner/vfddesigner.pas b/uidesigner/vfddesigner.pas index b8fd6b82..2aa08248 100644 --- a/uidesigner/vfddesigner.pas +++ b/uidesigner/vfddesigner.pas @@ -171,8 +171,7 @@ begin resizer[n] := TwgResizer.Create(self, n) else begin - if resizer[n] <> nil then - resizer[n].Free; + resizer[n].Free; resizer[n] := nil; end; end; @@ -204,8 +203,7 @@ var n: integer; begin for n := 1 to 8 do - if resizer[n] <> nil then - resizer[n].Free; + resizer[n].Free; other.Free; inherited Destroy; end; |