aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist_print.c')
-rw-r--r--src/playlist_print.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/playlist_print.c b/src/playlist_print.c
index fd61ab62c..f414ee0ac 100644
--- a/src/playlist_print.c
+++ b/src/playlist_print.c
@@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "config.h"
#include "playlist_print.h"
#include "queue_print.h"
#include "stored_playlist.h"
@@ -69,7 +70,7 @@ playlist_print_id(struct client *client, const struct playlist *playlist,
bool
playlist_print_current(struct client *client, const struct playlist *playlist)
{
- int current_position = getPlaylistCurrentSong(playlist);
+ int current_position = playlist_get_current_song(playlist);
if (current_position < 0)
return false;