From eab55f2c5ab33ec1ebf96086adf5a7ac81b8a407 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 15 Mar 2009 11:21:46 +0000 Subject: Fix warnings Fall back to default theme if specified one can't be found svn path=/trunk/netsurf/; revision=6785 --- amiga/history_local.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'amiga/history_local.c') 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; -- cgit v1.2.3