summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 90c3feb..ac8d862 100644
--- a/src/main.c
+++ b/src/main.c
@@ -407,6 +407,7 @@ int main (int argc, char **argv) {
if (PianoGetPlaylist (&ph, curStation->id) !=
PIANO_RET_OK) {
BarUiMsg ("Error.\n");
+ curStation = NULL;
} else {
curSong = ph.playlist;
if (curSong == NULL) {