summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xamiga/history_local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/history_local.c b/amiga/history_local.c
index eea7bad81..5454ace62 100755
--- a/amiga/history_local.c
+++ b/amiga/history_local.c
@@ -217,7 +217,7 @@ bool ami_history_click(struct history_window *hw,uint16 code)
void ami_history_close(struct history_window *hw)
{
- ami_free_layers(&hwindow->gg);
+ ami_free_layers(&hw->gg);
hw->bw->window->hw = NULL;
DisposeObject(hw->objects[OID_MAIN]);
DelObject(hw->node);