command: make "single" a bool
This commit is contained in:
parent
5ad21d7e98
commit
66ecf39efe
|
@ -1069,7 +1069,7 @@ handle_next(G_GNUC_UNUSED struct client *client,
|
|||
{
|
||||
/* single mode is not considered when this is user who
|
||||
* wants to change song. */
|
||||
int single = g_playlist.queue.single;
|
||||
const bool single = g_playlist.queue.single;
|
||||
g_playlist.queue.single = false;
|
||||
|
||||
playlist_next(&g_playlist, client->player_control);
|
||||
|
|
Loading…
Reference in New Issue