summaryrefslogtreecommitdiff
path: root/desktop/search.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-06-14 20:00:18 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-06-14 20:00:18 +0000
commit53f4da342088e0fe685034d0582cbf6fa13527ae (patch)
tree063970a74db5d904993cd2cc392f5e07f211b6a4 /desktop/search.c
parent6ed9b1de8bb2aa5220c60fbf0b42aea78f889da1 (diff)
downloadnetsurf-53f4da342088e0fe685034d0582cbf6fa13527ae.tar.gz
netsurf-53f4da342088e0fe685034d0582cbf6fa13527ae.tar.bz2
First pass at core iframes. Currently lacking scrollbars.
svn path=/trunk/netsurf/; revision=12474
Diffstat (limited to 'desktop/search.c')
-rw-r--r--desktop/search.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/search.c b/desktop/search.c
index 4598e60f7..790f3d4a0 100644
--- a/desktop/search.c
+++ b/desktop/search.c
@@ -644,7 +644,8 @@ void search_show_all(bool all, struct search_context *context)
}
}
if (add && !a->sel) {
- a->sel = selection_create(context->bw);
+ a->sel = selection_create();
+ selection_set_browser_window(a->sel, context->bw);
if (a->sel) {
hlcache_handle *c = context->bw->
current_content;