From 5bb5cedec5170ac2aa06a340159256b55505c427 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 28 Mar 2010 15:51:05 +0000 Subject: Changes required for new-cache svn path=/trunk/netsurf/; revision=10186 --- amiga/search.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'amiga/search.c') diff --git a/amiga/search.c b/amiga/search.c index ea506b242..5c595c619 100755 --- a/amiga/search.c +++ b/amiga/search.c @@ -99,11 +99,11 @@ static struct search_callbacks ami_search_callbacks = { */ void ami_search_open(struct gui_window *gwin) { - struct content *c = gwin->shared->bw->current_content; + struct hlcache_handle *c = gwin->shared->bw->current_content; /* only handle html/textplain contents */ - if ((!c) || (c->type != CONTENT_HTML && - c->type != CONTENT_TEXTPLAIN)) + if ((!c) || (content_get_type(c) != CONTENT_HTML && + content_get_type(c) != CONTENT_TEXTPLAIN)) return; if (gwin->shared->bw->search_context == NULL) -- cgit v1.2.3