From 46099c5ca7d5c79ad1754f722316e58c3aa67ce0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 4 Nov 2013 14:01:36 +0100 Subject: [PATCH] (RGUI) Style nits --- frontend/menu/rgui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/menu/rgui.c b/frontend/menu/rgui.c index 332def0517..c0ec484943 100644 --- a/frontend/menu/rgui.c +++ b/frontend/menu/rgui.c @@ -56,8 +56,9 @@ static uint16_t menu_framebuf[400 * 240]; static void rgui_flush_menu_stack_type(rgui_handle_t *rgui, unsigned final_type) { + unsigned type; + type = 0; rgui->need_refresh = true; - unsigned type = 0; rgui_list_get_last(rgui->menu_stack, NULL, &type); while (type != final_type) {