mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
CTextBox: remove dub allocation of m_pcFontText
Origin commit data
------------------
Commit: 08e66deb75
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-07 (Wed, 07 Nov 2012)
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