Replaces MenuIcheck() with calls to menu_icheck()

This commit is contained in:
Ole Loots 2012-12-03 00:00:13 +01:00
parent 40313798ee
commit d5f0ea5155

View File

@ -421,8 +421,8 @@ static void __CDECL menu_debug_render(short item, short title, void *data)
browser_get_rect( input_window, BR_CONTENT, &rect );
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 );
menu_icheck(gem_menu, MAINMENU_M_DEBUG_RENDER,
(html_redraw_debug) ? 1 : 0);
}
}
}
@ -430,14 +430,14 @@ static void __CDECL menu_debug_render(short item, short title, void *data)
static void __CDECL menu_fg_images(short item, short title, void *data)
{
nsoption_set_bool(foreground_images, !nsoption_bool(foreground_images));
MenuIcheck( NULL, MAINMENU_M_FG_IMAGES,
menu_icheck(gem_menu, MAINMENU_M_FG_IMAGES,
(nsoption_bool(foreground_images)) ? 1 : 0);
}
static void __CDECL menu_bg_images(short item, short title, void *data)
{
nsoption_set_bool(background_images, !nsoption_bool(background_images));
MenuIcheck( NULL, MAINMENU_M_BG_IMAGES,
menu_icheck(gem_menu, MAINMENU_M_BG_IMAGES,
(nsoption_bool(background_images)) ? 1 : 0);
}
@ -500,8 +500,8 @@ static void __CDECL menu_bookmarks(short item, short title, void *data)
static void __CDECL menu_vlog(short item, short title, void *data)
{
LOG(("%s", __FUNCTION__));
verbose_log = !verbose_log;
MenuIcheck(NULL, MAINMENU_M_VLOG, (verbose_log) ? 1 : 0 );
verbose_log = !verbose_log;
menu_icheck(gem_menu, MAINMENU_M_VLOG, (verbose_log) ? 1 : 0);
}
static void __CDECL menu_help_content(short item, short title, void *data)