aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_edit.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-08 21:12:57 +0200
committerMax Kellermann <max@duempel.org>2009-10-08 21:12:57 +0200
commite5857cb722c4ce3319cb35c3c26c26ab2c5a8d33 (patch)
tree3c5d8113246c38729667657159037c40370108ca /src/playlist_edit.c
parent2ec89c6304a7f72a342a47a3d19f8f04d19735a1 (diff)
downloadmpd-e5857cb722c4ce3319cb35c3c26c26ab2c5a8d33.tar.gz
mpd-e5857cb722c4ce3319cb35c3c26c26ab2c5a8d33.tar.xz
mpd-e5857cb722c4ce3319cb35c3c26c26ab2c5a8d33.zip
player_control: no CamelCase
Diffstat (limited to 'src/playlist_edit.c')
-rw-r--r--src/playlist_edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist_edit.c b/src/playlist_edit.c
index 473305f17..8052f8470 100644
--- a/src/playlist_edit.c
+++ b/src/playlist_edit.c
@@ -219,11 +219,11 @@ playlist_delete_internal(struct playlist *playlist, unsigned song,
songOrder = queue_position_to_order(&playlist->queue, song);
if (playlist->playing && playlist->current == (int)songOrder) {
- bool paused = getPlayerState() == PLAYER_STATE_PAUSE;
+ bool paused = pc_get_state() == PLAYER_STATE_PAUSE;
/* the current song is going to be deleted: stop the player */
- playerWait();
+ pc_stop();
playlist->playing = false;
/* see which song is going to be played instead */