diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-08-31 17:53:40 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-08-31 17:53:40 +0000 |
commit | 6e3e168d08a6d9ae12d33f65ffcdae20306e9d06 (patch) | |
tree | 1f8ac1f32f7ac9135df7bd6056096592ced5749f /render/box.h | |
parent | 5af7a9c03c71cae313853a3550d34c9f4e42f4f8 (diff) | |
download | netsurf-6e3e168d08a6d9ae12d33f65ffcdae20306e9d06.tar.gz netsurf-6e3e168d08a6d9ae12d33f65ffcdae20306e9d06.tar.bz2 |
Avoid instance of using bw->current_content outside desktop/.
svn path=/trunk/netsurf/; revision=12690
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/box.h b/render/box.h index 28dd007da..4b2e8d029 100644 --- a/render/box.h +++ b/render/box.h @@ -324,7 +324,7 @@ struct box *box_at_point(struct box *box, const int x, const int y, int *box_x, int *box_y, struct hlcache_handle **content); struct box *box_object_at_point(struct hlcache_handle *h, int x, int y); struct box *box_href_at_point(struct hlcache_handle *h, int x, int y); -struct box *box_pick_text_box(struct hlcache_handle *h, +struct box *box_pick_text_box(struct html_content *html, int x, int y, int dir, int *dx, int *dy); struct box *box_find_by_id(struct box *box, const char *id); bool box_visible(struct box *box); |