From 5345b55a588e66dbe6b4d1f8e2e992c071ab765f Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 7 Nov 2012 22:13:14 +0100 Subject: [PATCH] CTextBox: remove dub allocation of m_pcFontText Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/08e66deb7519cc6e00e3041f740df40ac6bfdd7d Author: Thilo Graf Date: 2012-11-07 (Wed, 07 Nov 2012) --- src/gui/widget/textbox.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/widget/textbox.cpp b/src/gui/widget/textbox.cpp index fb19beddb..815cdc063 100644 --- a/src/gui/widget/textbox.cpp +++ b/src/gui/widget/textbox.cpp @@ -150,7 +150,6 @@ void CTextBox::initVar(void) m_cText = ""; m_nMode = SCROLL; - m_pcFontText = NULL; m_pcFontText = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_INFO1]; m_nFontTextHeight = m_pcFontText->getHeight(); m_nMaxTextWidth = 0;