Get rid of unnecessary conditional in menu_settings_iterate
This commit is contained in:
parent
71978000b4
commit
da821ead36
|
@ -282,7 +282,6 @@ static int menu_settings_iterate(unsigned action)
|
||||||
|
|
||||||
driver.menu->frame_buf_pitch = driver.menu->width * 2;
|
driver.menu->frame_buf_pitch = driver.menu->width * 2;
|
||||||
|
|
||||||
if (action != MENU_ACTION_REFRESH)
|
|
||||||
file_list_get_at_offset(driver.menu->selection_buf,
|
file_list_get_at_offset(driver.menu->selection_buf,
|
||||||
driver.menu->selection_ptr, &path, &label, &type);
|
driver.menu->selection_ptr, &path, &label, &type);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue