diff --git a/src/gui/widget/listframe.cpp b/src/gui/widget/listframe.cpp index e8c20a37f..4130e05fa 100644 --- a/src/gui/widget/listframe.cpp +++ b/src/gui/widget/listframe.cpp @@ -521,7 +521,7 @@ void CListFrame::scrollLineUp(const int lines) if( !(m_nMode & SCROLL)) return; if( m_nNrOfLines <= 1) return; - setSelectedLine((m_nNrOfLines - lines + m_nSelectedLine - 1) % m_nNrOfLines); + setSelectedLine((m_nSelectedLine - lines + m_nNrOfLines) % m_nNrOfLines); } void CListFrame::scrollPageDown(const int pages)