mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- listframe: fix calculation of m_nLinesPerPage
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -289,7 +289,7 @@ void CListFrame::initFramesRel(void)
|
|||||||
m_cFrameHeaderListRel.iWidth = m_cFrame.iWidth;
|
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)
|
void CListFrame::onNewLineArray(void)
|
||||||
|
Reference in New Issue
Block a user