command: make "single" a bool

This commit is contained in:
Max Kellermann 2012-08-21 19:38:08 +02:00
parent 5ad21d7e98
commit 66ecf39efe
1 changed files with 1 additions and 1 deletions

View File

@ -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);