aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.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.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 '')
-rw-r--r--src/screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index da758b10d..ac4a63ee1 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -322,7 +322,8 @@ paint_status_window(mpdclient_t *c)
int width = COLS-x-my_strlen(screen.buf);
if (song)
- strfsong(songname, MAX_SONGNAME_LENGTH, STATUS_FORMAT, song);
+ strfsong(songname, MAX_SONGNAME_LENGTH,
+ options.status_format, song);
else
songname[0] = '\0';