queue_save: save song priorities

This commit is contained in:
Max Kellermann
2012-08-21 19:17:14 +02:00
parent ef5125f8f4
commit 5ad21d7e98
6 changed files with 27 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ main(G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv)
queue_init(&queue, 32);
for (unsigned i = 0; i < G_N_ELEMENTS(songs); ++i)
queue_append(&queue, &songs[i]);
queue_append(&queue, &songs[i], 0);
assert(queue_length(&queue) == G_N_ELEMENTS(songs));