From 41f1a727c1b7ebbabf84652bab20361ee7631642 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 22 Apr 2011 16:52:52 +0200 Subject: Configureable format strings Closes #88 --- src/ui_dispatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui_dispatch.c') 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); } -- cgit v1.2.3