summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-28 12:42:03 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-28 12:42:03 +0200
commit69c5b67d17e0089c7294c24d363027205124e2e8 (patch)
treead81bf53e8a739fa260c46bba830666787132042
parentd82aec72c8e35cc730fd36e2ad48617eedc51b27 (diff)
downloadpianobar-windows-69c5b67d17e0089c7294c24d363027205124e2e8.tar.gz
pianobar-windows-69c5b67d17e0089c7294c24d363027205124e2e8.tar.bz2
pianobar-windows-69c5b67d17e0089c7294c24d363027205124e2e8.zip
Fix "add more music" logic
-rw-r--r--src/ui_act.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui_act.c b/src/ui_act.c
index 011f35b..dd04e2e 100644
--- a/src/ui_act.c
+++ b/src/ui_act.c
@@ -78,7 +78,7 @@ void BarUiActAddMusic (BAR_KS_ARGS) {
RETURN_IF_NO_STATION;
musicId = BarUiSelectMusicId (ph);
- if (musicId == NULL) {
+ if (musicId != NULL) {
if (!BarTransformIfShared (ph, *curStation)) {
return;
}