From d4ca800268987eb04e93f5fca6fb22a4e71ab416 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 20 Aug 2012 16:46:55 +0100 Subject: Use proper function for box tree dump. --- beos/scaffolding.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'beos') 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); } -- cgit v1.2.3