aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-21 19:38:08 +0200
committerMax Kellermann <max@duempel.org>2012-08-21 19:38:08 +0200
commit66ecf39efe703185b1d54775e052d1c6a3f76903 (patch)
tree2bf629cea44b11970221ce713d8aa8262ddea02c /src/command.c
parent5ad21d7e98e1f21e09de66c1e0275ea2ab5b74e4 (diff)
downloadmpd-66ecf39efe703185b1d54775e052d1c6a3f76903.tar.gz
mpd-66ecf39efe703185b1d54775e052d1c6a3f76903.tar.xz
mpd-66ecf39efe703185b1d54775e052d1c6a3f76903.zip
command: make "single" a bool
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 329b7d51a..c405925f2 100644
--- a/src/command.c
+++ b/src/command.c
@@ -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);