mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
CTextBox: remove dub allocation of m_pcFontText
This commit is contained in:
@@ -150,7 +150,6 @@ void CTextBox::initVar(void)
|
|||||||
m_cText = "";
|
m_cText = "";
|
||||||
m_nMode = SCROLL;
|
m_nMode = SCROLL;
|
||||||
|
|
||||||
m_pcFontText = NULL;
|
|
||||||
m_pcFontText = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_INFO1];
|
m_pcFontText = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_INFO1];
|
||||||
m_nFontTextHeight = m_pcFontText->getHeight();
|
m_nFontTextHeight = m_pcFontText->getHeight();
|
||||||
m_nMaxTextWidth = 0;
|
m_nMaxTextWidth = 0;
|
||||||
|
Reference in New Issue
Block a user