diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-05-05 17:21:56 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-05-05 17:49:03 +0200 |
commit | da587f1423529e6daae07bc4ff604ab5d6132942 (patch) | |
tree | 5e2614ca9f7362a525b0350c25ab1f4ca3f097ec /src/ui.c | |
parent | 2fc425e1a21c676861ec820bc1432292ea159aa9 (diff) | |
download | pianobar-da587f1423529e6daae07bc4ff604ab5d6132942.tar.gz pianobar-da587f1423529e6daae07bc4ff604ab5d6132942.tar.bz2 pianobar-da587f1423529e6daae07bc4ff604ab5d6132942.zip |
Replace generic "search for artist/title" message
Closes #115
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |