diff options
author | 2013-07-21 18:06:52 +0200 | |
---|---|---|
committer | 2013-07-21 18:06:52 +0200 | |
commit | 4fa6975a7687be9833606ed2d416daa9fd359db1 (patch) | |
tree | c793becf164e932d677b707417c55896cf6e5ed6 | |
parent | ba1dc085bc35fd4b048dd5b4a7cbc47bf8c10217 (diff) |
command: fix switching tracks backwards if there's only one track
This remained stuck at no selection.
-rw-r--r-- | core/command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/command.c b/core/command.c index d57a0976e4..4cf508d5e7 100644 --- a/core/command.c +++ b/core/command.c @@ -854,7 +854,8 @@ static struct track* track_next(struct MPContext *mpctx, enum stream_type type, } else { if (seen && !next) { next = cur; - } else if (!seen || !track) { + } + if (!seen || !track) { prev = cur; } } |