From: Andre Noll Date: Tue, 23 Oct 2007 14:47:46 +0000 (+0200) Subject: mood.c: Use activate_mood_or_playlist() also to switch to the dummy mode. X-Git-Tag: v0.3.0~249 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=d4fdb9dc8a431d514a953fcaa6ba31f93ab29b87;p=paraslash.git mood.c: Use activate_mood_or_playlist() also to switch to the dummy mode. --- diff --git a/afs.c b/afs.c index cc6d7467..48faeb17 100644 --- 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?