From 4f4e7927bbd8c47da73b43d1ebce883be2eecffd Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Thu, 8 Dec 2011 00:08:41 +0000 Subject: toggle menu item when debug rendering is toggled. svn path=/trunk/netsurf/; revision=13259 --- atari/global_evnt.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/atari/global_evnt.c b/atari/global_evnt.c index 1deff1ef5..4cfadf98a 100755 --- a/atari/global_evnt.c +++ b/atari/global_evnt.c @@ -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 ); } } } -- cgit v1.2.3