From 108242042e684b9d6147aeb97351b823e0a1ed0b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 6 Jan 2013 21:33:58 +0100 Subject: queue: convert all functions to methods --- src/QueueCommands.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/QueueCommands.cxx') diff --git a/src/QueueCommands.cxx b/src/QueueCommands.cxx index 72649444..3e24f0c9 100644 --- a/src/QueueCommands.cxx +++ b/src/QueueCommands.cxx @@ -171,7 +171,7 @@ enum command_return handle_shuffle(G_GNUC_UNUSED Client *client, G_GNUC_UNUSED int argc, G_GNUC_UNUSED char *argv[]) { - unsigned start = 0, end = queue_length(&client->playlist.queue); + unsigned start = 0, end = client->playlist.queue.GetLength(); if (argc == 2 && !check_range(client, &start, &end, argv[1])) return COMMAND_RETURN_ERROR; -- cgit v1.2.3