diff options
Diffstat (limited to 'core/command.c')
-rw-r--r-- | core/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/command.c b/core/command.c index bad1543224..8331278148 100644 --- a/core/command.c +++ b/core/command.c @@ -1871,7 +1871,7 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd) int dir = cmd->id == MP_CMD_PLAYLIST_PREV ? -1 : +1; int force = cmd->args[0].v.i; - struct playlist_entry *e = playlist_get_next(mpctx->playlist, dir); + struct playlist_entry *e = mp_next_file(mpctx, dir); if (!e && !force) break; mpctx->playlist->current = e; |