From 34a66a45ea2f06d3fb23ff6d8ac23db02c5fc5d1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 13 Apr 2013 15:53:44 +0200 Subject: [PATCH] (RMenu) Only set y member of menu_panel --- frontend/menu/rmenu.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/menu/rmenu.c b/frontend/menu/rmenu.c index 546162cb6f..4af360eb69 100644 --- a/frontend/menu/rmenu.c +++ b/frontend/menu/rmenu.c @@ -1115,10 +1115,7 @@ static void browser_render(void *data) #ifdef HAVE_MENU_PANEL //check if this is the currently selected file if (strcmp(browser->current_dir.path, browser->list->elems[i].data) == 0) - { - menu_panel->x = 0; menu_panel->y = y_increment; - } #endif font_parms.x = POSITION_X; @@ -2574,7 +2571,6 @@ static int select_setting(uint8_t menu_type, uint64_t input) continue; #ifdef HAVE_MENU_PANEL - menu_panel->x = 0; menu_panel->y = y_increment; #endif