summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-05-03 23:58:37 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-05-03 23:58:37 +0200
commit90694e1e34974839c1fcdd880ace33757fd47a2d (patch)
tree5a0e14c2728fd8ce16c0ee1f93d9049bf827e8cd
parentb859e30002887184c14eb0a309a38f611f3878b2 (diff)
downloadfpGUI-90694e1e34974839c1fcdd880ace33757fd47a2d.tar.xz
AText variable was never really used, so I removed it.
-rw-r--r--src/gui/fpg_button.pas2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/fpg_button.pas b/src/gui/fpg_button.pas
index 182d8a14..05f54e20 100644
--- a/src/gui/fpg_button.pas
+++ b/src/gui/fpg_button.pas
@@ -518,7 +518,6 @@ end;
procedure TfpgBaseButton.HandlePaint;
var
- AText: string;
tx, ty, ix, iy: integer;
r: TfpgRect;
pofs: integer;
@@ -581,7 +580,6 @@ begin
Canvas.SetClipRect(r);
Canvas.SetFont(Font);
- AText := FText;
if FDown then
pofs := 1