]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - play.c
i9e: Avoid key binding macros.
[paraslash.git] / play.c
diff --git a/play.c b/play.c
index 61c30aed08b131384e099a945cfed3011b9a0f97..7593a69b25123d6983d39de373c3399a4ec78d51 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;