(XUI) file_list - use XuiSetCurlSel for file_list_pop

This commit is contained in:
twinaphex 2014-02-28 21:47:06 +01:00
parent 189b043bb7
commit 755c07fe35

View File

@ -74,7 +74,14 @@ void file_list_pop(file_list_t *list, size_t *directory_ptr)
}
if (directory_ptr)
{
#ifdef HAVE_RMENU_XUI
*directory_ptr = 0;
XuiListSetCurSel(m_menulist, 0);
#else
*directory_ptr = list->list[list->size].directory_ptr;
#endif
}
}
void file_list_free(file_list_t *list)