summaryrefslogtreecommitdiff
path: root/frontends/amiga/gui.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-06-01 07:59:19 +0100
committerVincent Sanders <vince@kyllikki.org>2016-06-01 07:59:19 +0100
commitfcde28d97f3863d8be4f6245e20f6471c9bfacb6 (patch)
treecc0a37a6896571422feb2a273d4dfbbbdefe6488 /frontends/amiga/gui.c
parent148748b82c29160224486af7eed0d62f37031cb6 (diff)
downloadnetsurf-fcde28d97f3863d8be4f6245e20f6471c9bfacb6.tar.gz
netsurf-fcde28d97f3863d8be4f6245e20f6471c9bfacb6.tar.bz2
reduce core header usage
Diffstat (limited to 'frontends/amiga/gui.c')
-rw-r--r--frontends/amiga/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index 3ccb2eb4b..f07383a72 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -4460,7 +4460,7 @@ static void gui_window_destroy(struct gui_window *g)
if(!g) return;
- if(g->shared->searchwin && (g->shared->searchwin->gwin == g))
+ if (ami_search_get_gwin(g->shared->searchwin) == g)
{
ami_search_close();
win_destroyed = true;