diff options
author | Max Kellermann <max@duempel.org> | 2008-10-02 17:48:01 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-02 17:48:01 +0200 |
commit | 45ff31548dc68c27e1af6fdf37945de97579f5f9 (patch) | |
tree | 3b33e41d5a47ed04f6c184f6613d9c30e4d6233f /src/mpdclient.c | |
parent | 994ffdbde3b12429578a33dcf18204b9d813311f (diff) | |
download | mpd-45ff31548dc68c27e1af6fdf37945de97579f5f9.tar.gz mpd-45ff31548dc68c27e1af6fdf37945de97579f5f9.tar.xz mpd-45ff31548dc68c27e1af6fdf37945de97579f5f9.zip |
removed LIST_FORMAT, STATUS_FORMAT
Use options.list_format and options.status_format directly instead of
these two macros.
Diffstat (limited to '')
-rw-r--r-- | src/mpdclient.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); } |