(XUI) file_list - use XuiSetCurlSel for file_list_pop
This commit is contained in:
parent
189b043bb7
commit
755c07fe35
|
@ -74,7 +74,14 @@ void file_list_pop(file_list_t *list, size_t *directory_ptr)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (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;
|
*directory_ptr = list->list[list->size].directory_ptr;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void file_list_free(file_list_t *list)
|
void file_list_free(file_list_t *list)
|
||||||
|
|
Loading…
Reference in New Issue