diff options
author | Max Kellermann <max@duempel.org> | 2013-01-07 10:55:05 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-07 11:35:35 +0100 |
commit | 52638c68f51209dc6c5a966feeadffc5b922f919 (patch) | |
tree | c69b6e30407f7c80cc1b8a3aa3af408c60a42262 /src/PlaylistPrint.cxx | |
parent | 400ff1c81253d29b127834c0b5367e83bbb3430c (diff) | |
download | mpd-52638c68f51209dc6c5a966feeadffc5b922f919.tar.gz mpd-52638c68f51209dc6c5a966feeadffc5b922f919.tar.xz mpd-52638c68f51209dc6c5a966feeadffc5b922f919.zip |
Playlist: convert functions to methods
Diffstat (limited to 'src/PlaylistPrint.cxx')
-rw-r--r-- | src/PlaylistPrint.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/PlaylistPrint.cxx b/src/PlaylistPrint.cxx index e12fc8c8b..e6ece7e6b 100644 --- a/src/PlaylistPrint.cxx +++ b/src/PlaylistPrint.cxx @@ -80,8 +80,7 @@ playlist_print_id(Client *client, const struct playlist *playlist, bool playlist_print_current(Client *client, const struct playlist *playlist) { - int current_position = playlist_get_current_song(playlist); - + int current_position = playlist->GetCurrentPosition(); if (current_position < 0) return false; |