From da587f1423529e6daae07bc4ff604ab5d6132942 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 5 May 2011 17:21:56 +0200 Subject: Replace generic "search for artist/title" message Closes #115 --- src/ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index 94e559e..fd2302d 100644 --- a/src/ui.c +++ b/src/ui.c @@ -473,14 +473,14 @@ PianoArtist_t *BarUiSelectArtist (PianoArtist_t *startArtist, * @param allow seed suggestions if != NULL * @return musicId or NULL on abort/error */ -char *BarUiSelectMusicId (BarApp_t *app, char *similarToId) { +char *BarUiSelectMusicId (BarApp_t *app, char *similarToId, const char *msg) { char *musicId = NULL; char lineBuf[100], selectBuf[2]; PianoSearchResult_t searchResult; PianoArtist_t *tmpArtist; PianoSong_t *tmpSong; - BarUiMsg (MSG_QUESTION, "Search for artist/title: "); + BarUiMsg (MSG_QUESTION, msg); if (BarReadlineStr (lineBuf, sizeof (lineBuf), &app->input, BAR_RL_DEFAULT) > 0) { if (strcmp ("?", lineBuf) == 0 && similarToId != NULL) { -- cgit v1.2.3