diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-04-04 18:07:44 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-04-04 18:07:44 +0000 |
commit | aed81aa91750769bdea8881a1f56c25b7ba1b5b5 (patch) | |
tree | 57b9f23c333fae6fc87f61853e0776e10a36bcb2 /riscos/gui.c | |
parent | 19c77ff2b141b49042cd9abc549e376dc4530497 (diff) | |
download | netsurf-aed81aa91750769bdea8881a1f56c25b7ba1b5b5.tar.gz netsurf-aed81aa91750769bdea8881a1f56c25b7ba1b5b5.tar.bz2 |
[project @ 2004-04-04 18:07:44 by jmb]
Add pointer to containing content struct to box_selection and update box_under_area accordingly
This ensures relative links in frames etc. are url_joined correctly.
svn path=/import/netsurf/; revision=721
Diffstat (limited to 'riscos/gui.c')
-rw-r--r-- | riscos/gui.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index 6e750d996..169e81bf0 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -899,7 +899,8 @@ void ro_msg_datasave(wimp_message* block) click_boxes = NULL; plot_index = 0; - box_under_area(bw->current_content->data.html.layout->children, + box_under_area(bw->current_content, + bw->current_content->data.html.layout->children, (unsigned int)x, (unsigned int)y, 0, 0, &click_boxes, &found, &plot_index); @@ -1068,7 +1069,8 @@ void ro_msg_dataload(wimp_message *message) click_boxes = NULL; plot_index = 0; - box_under_area(bw->current_content->data.html.layout->children, + box_under_area(bw->current_content, + bw->current_content->data.html.layout->children, (unsigned int)x, (unsigned int)y, 0, 0, &click_boxes, &found, &plot_index); |