Commit 7dfa7830 authored by Roald Frederickx's avatar Roald Frederickx
Browse files

shouldn't this be reversed?

--HG--
branch : 550d
parent 9475f40924e7
...@@ -350,6 +350,12 @@ menu_display( ...@@ -350,6 +350,12 @@ menu_display(
while( menu ) while( menu )
{ {
icon_drawn = 0; icon_drawn = 0;
if (menu->priv)
{
menu_draw_icon(x, y, MNI_BOOL(*(int*)menu->priv), 0);
}
if (!show_only_selected || menu->selected) if (!show_only_selected || menu->selected)
{ {
menu->display( menu->display(
...@@ -360,11 +366,6 @@ menu_display( ...@@ -360,11 +366,6 @@ menu_display(
); );
} }
if (menu->priv)
{
menu_draw_icon(x, y, MNI_BOOL(*(int*)menu->priv), 0);
}
if (menu->selected && menu->help) if (menu->selected && menu->help)
bmp_printf( bmp_printf(
FONT(FONT_MED, COLOR_WHITE, COLOR_BLACK), FONT(FONT_MED, COLOR_WHITE, COLOR_BLACK),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment