Commit 36410daa authored by Max Kellermann's avatar Max Kellermann

queue/PlaylistEdit: fix inverted check

parent 38bfef7d
......@@ -384,7 +384,7 @@ playlist::Shuffle(PlayerControl &pc, RangeArg range)
if (!range.CheckClip(GetLength()))
throw PlaylistError::BadRange();
if (range.HasAtLeast(2))
if (!range.HasAtLeast(2))
/* needs at least two entries. */
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment