diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-03-15 11:21:46 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2009-03-15 11:21:46 +0000 |
commit | eab55f2c5ab33ec1ebf96086adf5a7ac81b8a407 (patch) | |
tree | 3b63f3b603aa5723e9a3285aff8eb825de055cc3 /amiga/history_local.c | |
parent | d3d7fc7c66427870096a402c237b545b2327f8bc (diff) | |
download | netsurf-eab55f2c5ab33ec1ebf96086adf5a7ac81b8a407.tar.gz netsurf-eab55f2c5ab33ec1ebf96086adf5a7ac81b8a407.tar.bz2 |
Fix warnings
Fall back to default theme if specified one can't be found
svn path=/trunk/netsurf/; revision=6785
Diffstat (limited to 'amiga/history_local.c')
-rwxr-xr-x | amiga/history_local.c | 2 |
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; |