Commit 66ecf39e authored by Max Kellermann's avatar Max Kellermann

command: make "single" a bool

parent 5ad21d7e
...@@ -1069,7 +1069,7 @@ handle_next(G_GNUC_UNUSED struct client *client, ...@@ -1069,7 +1069,7 @@ handle_next(G_GNUC_UNUSED struct client *client,
{ {
/* single mode is not considered when this is user who /* single mode is not considered when this is user who
* wants to change song. */ * wants to change song. */
int single = g_playlist.queue.single; const bool single = g_playlist.queue.single;
g_playlist.queue.single = false; g_playlist.queue.single = false;
playlist_next(&g_playlist, client->player_control); playlist_next(&g_playlist, client->player_control);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment