- listframe: fix calculation of m_nLinesPerPage

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-02-16 23:19:04 +01:00
committed by Thilo Graf
parent 3b634bd43b
commit aed34c5907

View File

@@ -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)