diff --git a/src/title_bar.c b/src/title_bar.c
index e83156519a4890ef2a10c13248638ecdcba00b04..1a19e022a571808d00b78136d6d1714e4aa8e009 100644 (file)
--- a/src/title_bar.c
+++ b/src/title_bar.c
const struct mpd_status *status)
{
WINDOW *w = p->window.w;
- int volume;
- char flags[5];
- char buf[32];
assert(p != NULL);
#ifdef ENABLE_HELP_SCREEN
print_hotkey(w, CMD_SCREEN_HELP, _("Help"));
#endif
- print_hotkey(w, CMD_SCREEN_PLAY, _("Playlist"));
+ print_hotkey(w, CMD_SCREEN_PLAY, _("Queue"));
print_hotkey(w, CMD_SCREEN_FILE, _("Browse"));
#ifdef ENABLE_ARTIST_SCREEN
print_hotkey(w, CMD_SCREEN_ARTIST, _("Artist"));
#endif
}
- volume = get_volume(status);
+ int volume = get_volume(status);
+ char buf[32];
if (volume < 0)
g_snprintf(buf, 32, _("Volume n/a"));
else
colors_use(w, COLOR_TITLE);
mvwaddstr(w, 0, p->window.cols - utf8_width(buf), buf);
+ char flags[5];
flags[0] = 0;
if (status != NULL) {
if (mpd_status_get_repeat(status))
if (flags[0]) {
wmove(w, 1, p->window.cols - strlen(flags) - 3);
waddch(w, '[');
- colors_use(w, COLOR_LINE_BOLD);
+ colors_use(w, COLOR_LINE_FLAGS);
waddstr(w, flags);
colors_use(w, COLOR_LINE);
waddch(w, ']');