listframe: fix calculation of m_nLinesPerPage

Origin commit data
------------------
Commit: 1eb78116b0
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-02-16 (Sat, 16 Feb 2019)

Origin message was:
------------------
- listframe: fix calculation of m_nLinesPerPage
This commit is contained in:
vanhofen
2019-02-16 23:19:04 +01:00
parent dfc8bb81c2
commit e256051375

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)