diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2010-04-07 10:55:39 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2010-04-07 10:55:39 +0000 |
commit | 51d619ad4d6b07a48da4119f4f8debf71c9940cd (patch) | |
tree | d3e45d2e35b09f1309f6b315263c608eaacc6cea /riscos/gui.c | |
parent | cc0e23b5409879c3173cf0c61c84af6608c3b8e3 (diff) | |
download | netsurf-51d619ad4d6b07a48da4119f4f8debf71c9940cd.tar.gz netsurf-51d619ad4d6b07a48da4119f4f8debf71c9940cd.tar.bz2 |
Fix box dump for new cache.
svn path=/trunk/netsurf/; revision=10263
Diffstat (limited to 'riscos/gui.c')
-rw-r--r-- | riscos/gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index 72b41e838..8987210a2 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -2301,7 +2301,7 @@ void ro_gui_view_source_bounce(wimp_message *message) * Send the debug dump of a content to a text editor. */ -void ro_gui_dump_content(struct content *content) +void ro_gui_dump_content(hlcache_handle *c) { os_error *error; @@ -2314,9 +2314,9 @@ void ro_gui_dump_content(struct content *content) } /* output debug information to file */ - switch (content->type) { + switch (content_get_type(c)) { case CONTENT_HTML: - box_dump(stream, content->data.html.layout, 0); + box_dump(stream, html_get_box_tree(c), 0); break; default: break; |