diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-03-28 15:51:05 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-03-28 15:51:05 +0000 |
commit | 5bb5cedec5170ac2aa06a340159256b55505c427 (patch) | |
tree | a163277fc30654ecd846b016f473e8a694231852 /amiga/search.c | |
parent | 5d074feaf2dd12cb91672106f006b4c1aaec2cf0 (diff) | |
download | netsurf-5bb5cedec5170ac2aa06a340159256b55505c427.tar.gz netsurf-5bb5cedec5170ac2aa06a340159256b55505c427.tar.bz2 |
Changes required for new-cache
svn path=/trunk/netsurf/; revision=10186
Diffstat (limited to 'amiga/search.c')
-rwxr-xr-x | amiga/search.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |