aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_play.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-02 17:48:01 +0200
committerMax Kellermann <max@duempel.org>2008-10-02 17:48:01 +0200
commit45ff31548dc68c27e1af6fdf37945de97579f5f9 (patch)
tree3b33e41d5a47ed04f6c184f6613d9c30e4d6233f /src/screen_play.c
parent994ffdbde3b12429578a33dcf18204b9d813311f (diff)
downloadmpd-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 'src/screen_play.c')
-rw-r--r--src/screen_play.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screen_play.c b/src/screen_play.c
index 309b9a54e..adc46a511 100644
--- a/src/screen_play.c
+++ b/src/screen_play.c
@@ -17,7 +17,6 @@
*/
#include "config.h"
-#include "ncmpc.h"
#include "i18n.h"
#include "options.h"
#include "support.h"
@@ -104,7 +103,7 @@ list_callback(unsigned idx, int *highlight, void *data)
c->status != NULL && !IS_STOPPED(c->status->state))
*highlight = 1;
- strfsong(songname, MAX_SONG_LENGTH, LIST_FORMAT, song);
+ strfsong(songname, MAX_SONG_LENGTH, options.list_format, song);
return songname;
}