diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-04-22 16:52:52 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-05-18 15:32:02 +0200 |
commit | 41f1a727c1b7ebbabf84652bab20361ee7631642 (patch) | |
tree | 44c6cc8c836c5fd91078ec6d991cd9220acdfde2 /src/ui_dispatch.c | |
parent | e8c314c615092555d5fe79119c176ec0413caf3d (diff) | |
download | pianobar-41f1a727c1b7ebbabf84652bab20361ee7631642.tar.gz pianobar-41f1a727c1b7ebbabf84652bab20361ee7631642.tar.bz2 pianobar-41f1a727c1b7ebbabf84652bab20361ee7631642.zip |
Configureable format strings
Closes #88
Diffstat (limited to 'src/ui_dispatch.c')
-rw-r--r-- | src/ui_dispatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui_dispatch.c b/src/ui_dispatch.c index ddcf60c..93c77c8 100644 --- a/src/ui_dispatch.c +++ b/src/ui_dispatch.c @@ -56,9 +56,9 @@ BarKeyShortcutId_t BarUiDispatch (BarApp_t *app, const char key, PianoStation_t return i; } else if (verbose) { if (dispatchActions[i].context & BAR_DC_SONG) { - BarUiMsg (MSG_ERR, "No song playing.\n"); + BarUiMsg (&app->settings, MSG_ERR, "No song playing.\n"); } else if (dispatchActions[i].context & BAR_DC_STATION) { - BarUiMsg (MSG_ERR, "No station selected.\n"); + BarUiMsg (&app->settings, MSG_ERR, "No station selected.\n"); } else { assert (0); } |