From 45ff31548dc68c27e1af6fdf37945de97579f5f9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 2 Oct 2008 17:48:01 +0200 Subject: removed LIST_FORMAT, STATUS_FORMAT Use options.list_format and options.status_format directly instead of these two macros. --- src/mpdclient.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mpdclient.c') diff --git a/src/mpdclient.c b/src/mpdclient.c index dbf285e07..9beac9ee7 100644 --- a/src/mpdclient.c +++ b/src/mpdclient.c @@ -19,7 +19,6 @@ #include "mpdclient.h" #include "screen_utils.h" #include "config.h" -#include "ncmpc.h" #include "support.h" #include "options.h" #include "strfsong.h" @@ -83,8 +82,8 @@ compare_filelistentry_format(gconstpointer filelist_entry1, if (e1 && e2 && e1->type == MPD_INFO_ENTITY_TYPE_SONG && e2->type == MPD_INFO_ENTITY_TYPE_SONG) { - strfsong(key1, BUFSIZE, LIST_FORMAT, e1->info.song); - strfsong(key2, BUFSIZE, LIST_FORMAT, e2->info.song); + strfsong(key1, BUFSIZE, options.list_format, e1->info.song); + strfsong(key2, BUFSIZE, options.list_format, e2->info.song); n = strcmp(key1,key2); } -- cgit v1.2.3