summaryrefslogtreecommitdiff
path: root/amiga/history_local.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/history_local.c')
-rwxr-xr-xamiga/history_local.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/amiga/history_local.c b/amiga/history_local.c
index 9a30aa11b..754726240 100755
--- a/amiga/history_local.c
+++ b/amiga/history_local.c
@@ -139,6 +139,7 @@ void ami_history_open(struct browser_window *bw, struct history *history)
}
hwindow->bw = bw;
+ bw->window->hw = hwindow;
ami_history_redraw(hwindow);
}
@@ -217,6 +218,7 @@ bool ami_history_click(struct history_window *hw,uint16 code)
void ami_history_close(struct history_window *hw)
{
+ hw->bw->window->hw = NULL;
DisposeObject(hw->objects[OID_MAIN]);
DelObject(hw->node);
hwindow = NULL;