From 6b33e8ff6162db6a9395f68705a8fe0c233fc1b0 Mon Sep 17 00:00:00 2001 From: Aleksandr Kutuzov Date: Tue, 20 Oct 2020 16:27:38 +0300 Subject: [PATCH] Menu: fix code formatting --- applications/menu/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/menu/menu.c b/applications/menu/menu.c index 0b19b45b..7e6bfb2e 100644 --- a/applications/menu/menu.c +++ b/applications/menu/menu.c @@ -86,7 +86,7 @@ void menu_widget_callback(CanvasApi* canvas, void* context) { canvas->set_color(canvas, ColorBlack); canvas->set_font(canvas, FontSecondary); - if (MenuItemArray_size(*items)) { + if(MenuItemArray_size(*items)) { for(size_t i = 0; i < 5; i++) { size_t shift_position = i + menu->position + MenuItemArray_size(*items) - 2; shift_position = shift_position % (MenuItemArray_size(*items));