]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - play.c
Merge branch 'refs/heads/t/para_play_fixes'
[paraslash.git] / play.c
diff --git a/play.c b/play.c
index 6e6b91f93865dd3623592098c339a181be2dbb6d..55c9ec1bbb635946fe8ec92eadb52fa0accc8bf6 100644 (file)
--- a/play.c
+++ b/play.c
@@ -921,6 +921,8 @@ static int com_jmp(struct play_task *pt, int argc, char **argv)
                return ret;
        if (percent < 0 || percent > 100)
                return -ERRNO_TO_PARA_ERROR(EINVAL);
+       if (percent == 100)
+               return com_next(pt, 1, (char *[]){"next", NULL});
        if (pt->playing && !pt->fn.btrn)
                return 0;
        pt->start_chunk = percent * pt->num_chunks / 100;