Rename file_list_push to file_list_prepend

This commit is contained in:
Jean-André Santoni 2016-04-12 01:40:48 +07:00
parent 8e86d11f57
commit 1dea1fa0e2
3 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ bool file_list_append(file_list_t *userdata, const char *path,
const char *label, unsigned type, size_t current_directory_ptr,
size_t entry_index);
bool file_list_push(file_list_t *list,
bool file_list_prepend(file_list_t *list,
const char *path, const char *label,
unsigned type, size_t directory_ptr,
size_t entry_idx);

View File

@ -59,7 +59,7 @@ static bool file_list_capacity(file_list_t *list, size_t cap)
return true;
}
bool file_list_push(file_list_t *list,
bool file_list_prepend(file_list_t *list,
const char *path, const char *label,
unsigned type, size_t directory_ptr,
size_t entry_idx)

View File

@ -545,7 +545,7 @@ void menu_entries_prepend(file_list_t *list, const char *path, const char *label
if (!list || !label)
return;
file_list_push(list, path, label, type, directory_ptr, entry_idx);
file_list_prepend(list, path, label, type, directory_ptr, entry_idx);
idx = 0;