mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 14:48:28 +02:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user