diff --git a/src/queue/PlaylistEdit.cxx b/src/queue/PlaylistEdit.cxx index 1002d73e6..8816d4a0e 100644 --- a/src/queue/PlaylistEdit.cxx +++ b/src/queue/PlaylistEdit.cxx @@ -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;