menu_list_get_entry - fix bug

This commit is contained in:
twinaphex 2015-05-08 17:58:17 +02:00
parent 9622714ee1
commit 09d6294dc2

View File

@ -480,6 +480,8 @@ void menu_list_get_entry(menu_entry_t *entry, size_t i, void *userdata,
entry->id = i;
if (path)
strlcpy(entry->path, path, sizeof(entry->path));
if (entry_label)
strlcpy(entry->label, entry_label, sizeof(entry->label));
}