open_and_update_audio_file(): Interchange two arguments.
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index 3554008..353626e 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -492,7 +492,7 @@ int open_next_audio_file(void)
        ret = score_get_best(&aft_row, &score);
        if (ret < 0)
                return ret;
-       ret = open_and_update_audio_file(aft_row, &afd, score);
+       ret = open_and_update_audio_file(aft_row, score, &afd);
        if (ret < 0)
                return ret;
        shmid = ret;