Get rid of unnecessary conditional in menu_settings_iterate

This commit is contained in:
twinaphex 2014-10-12 17:50:01 +02:00
parent 71978000b4
commit da821ead36

View File

@ -282,9 +282,8 @@ static int menu_settings_iterate(unsigned action)
driver.menu->frame_buf_pitch = driver.menu->width * 2;
if (action != MENU_ACTION_REFRESH)
file_list_get_at_offset(driver.menu->selection_buf,
driver.menu->selection_ptr, &path, &label, &type);
file_list_get_at_offset(driver.menu->selection_buf,
driver.menu->selection_ptr, &path, &label, &type);
if (driver.menu->need_refresh && action != MENU_ACTION_MESSAGE)
action = MENU_ACTION_REFRESH;