diff --git a/src/musikcube/cursespp/Scrollbar.cpp b/src/musikcube/cursespp/Scrollbar.cpp index c5dbfabef..fd8b9b446 100644 --- a/src/musikcube/cursespp/Scrollbar.cpp +++ b/src/musikcube/cursespp/Scrollbar.cpp @@ -68,7 +68,7 @@ void Scrollbar::Draw(ListWindow* list, Window* target) { float total = (float) std::max(minY, adapter->GetEntryCount()); int yOffset; - if (range > total) { + if (range >= total) { yOffset = -1; } else {