From aed34c590768b09356082dade64860b9fb733a9a Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 16 Feb 2019 23:19:04 +0100 Subject: [PATCH] - listframe: fix calculation of m_nLinesPerPage Signed-off-by: Thilo Graf --- src/gui/widget/listframe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/listframe.cpp b/src/gui/widget/listframe.cpp index 2d7f4005d..4719580f4 100644 --- a/src/gui/widget/listframe.cpp +++ b/src/gui/widget/listframe.cpp @@ -289,7 +289,7 @@ void CListFrame::initFramesRel(void) m_cFrameHeaderListRel.iWidth = m_cFrame.iWidth; } - m_nLinesPerPage = (m_cFrameListRel.iHeight - (2*OFFSET_INNER_MID)) / m_nFontListHeight; + m_nLinesPerPage = m_cFrameListRel.iHeight / m_nFontListHeight; } void CListFrame::onNewLineArray(void)