summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorMichał Cichoń <michcic@gmail.com>2017-05-17 04:07:07 +0200
committerMichał Cichoń <michcic@gmail.com>2017-05-17 04:37:39 +0200
commit817ff6a87020a55d7628d600e2ee09b947ee2f4e (patch)
treebe90eee756de623bccfd3c4cd603c71ec6f0ac2f /src/ui.c
parent7c4b615a38a49e1bbe9c2315fed09920aa238b65 (diff)
downloadpianobar-windows-817ff6a87020a55d7628d600e2ee09b947ee2f4e.tar.gz
pianobar-windows-817ff6a87020a55d7628d600e2ee09b947ee2f4e.tar.bz2
pianobar-windows-817ff6a87020a55d7628d600e2ee09b947ee2f4e.zip
Show status code text if no other source of error is available.
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index 8efc7aa..88ad4d7 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -715,7 +715,8 @@ void BarUiStartEventCmd (const BarSettings_t *settings, const char *type,
// pipeWriteFd = fdopen (pipeFd[1], "w");
- // if (curSong != NULL && stations != NULL && curStation->isQuickMix) {
+ // if (curSong != NULL && stations != NULL && curStation != NULL &&
+ // curStation->isQuickMix) {
// songStation = PianoFindStationById (stations, curSong->stationId);
// }