]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afs.c
Change syntax for selecting moods or playlists.
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index ac7884c7e4e4c959a3ce3b1c17d050705a70b394..295933ec545d7eb60673e8dd002257347730e686 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -527,10 +527,10 @@ static int activate_mood_or_playlist(char *arg, int *num_admissible)
                ret = change_current_mood(NULL); /* always successful */
                mode = PLAY_MODE_MOOD;
        } else {
-               if (!strncmp(arg, "p:", 2)) {
+               if (!strncmp(arg, "p/", 2)) {
                        ret = playlist_open(arg + 2);
                        mode = PLAY_MODE_PLAYLIST;
-               } else if (!strncmp(arg, "m:", 2)) {
+               } else if (!strncmp(arg, "m/", 2)) {
                        ret = change_current_mood(arg + 2);
                        mode = PLAY_MODE_MOOD;
                } else