diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-08-20 16:46:55 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-08-20 16:46:55 +0100 |
commit | d4ca800268987eb04e93f5fca6fb22a4e71ab416 (patch) | |
tree | c8d3cb9baa6564a5b85897aa21b3b6e2b4ad63a2 | |
parent | 4581375209bbba2687bf6a1f42af4cc7e677652c (diff) | |
download | netsurf-d4ca800268987eb04e93f5fca6fb22a4e71ab416.tar.gz netsurf-d4ca800268987eb04e93f5fca6fb22a4e71ab416.tar.bz2 |
Use proper function for box tree dump.
-rw-r--r-- | beos/scaffolding.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/beos/scaffolding.cpp b/beos/scaffolding.cpp index abcf846b6..fc497e337 100644 --- a/beos/scaffolding.cpp +++ b/beos/scaffolding.cpp @@ -1314,13 +1314,7 @@ MENUHANDLER(save_box_tree) struct browser_window *bw; bw = nsbeos_get_browser_window(gw->top_level); - if (bw->current_content && - bw->current_content->type == - CONTENT_HTML) { - box_dump(fh, - bw->current_content->data.html.layout, - 0); - } + browser_window_debug_dump(bw, f); fclose(fh); } |