toggle menu item when debug rendering is toggled.

svn path=/trunk/netsurf/; revision=13259
This commit is contained in:
Ole Loots 2011-12-08 00:08:41 +00:00
parent 3f72673316
commit 4f4e7927bb

View File

@ -261,7 +261,10 @@ static void __CDECL menu_debug_render(WINDOW *win, int item, int title, void *da
if ( input_window->browser != NULL && input_window->browser->bw != NULL) {
LGRECT rect;
browser_get_rect( input_window, BR_CONTENT, &rect );
browser_window_reformat(input_window->browser->bw, false, rect.g_w, rect.g_h );
browser_window_reformat(input_window->browser->bw, false,
rect.g_w, rect.g_h );
MenuIcheck(NULL, MAINMENU_M_DEBUG_RENDER,
(html_redraw_debug) ? 1 : 0 );
}
}
}