]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
mood.c: Use activate_mood_or_playlist() also to switch to the dummy mode.
authorAndre Noll <maan@systemlinux.org>
Tue, 23 Oct 2007 14:47:46 +0000 (16:47 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 23 Oct 2007 14:47:46 +0000 (16:47 +0200)
afs.c

diff --git a/afs.c b/afs.c
index cc6d7467b3570228cb45f70a329da7467d007e71..48faeb17fdd153c735105a80a67aa27b1bd216e3 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -566,7 +566,7 @@ static int com_select_callback(const struct osl_object *query,
                ret = activate_mood_or_playlist(current_mop, &num_admissible);
                if (ret < 0) {
                        para_printf(&pb, "failed, switching to dummy\n");
-                       change_current_mood(NULL); /* always successful */
+                       activate_mood_or_playlist(NULL, &num_admissible);
                }
        }
        para_printf(&pb, "activated %s (%d admissible files)\n", current_mop?