mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CTextBox: fix missing init of old bg color
Avoids possible usage of wrong color after init.
This commit is contained in:
@@ -97,7 +97,7 @@ CTextBox::CTextBox(const char * text, Font* font_text, const int pmode,
|
||||
|
||||
//TRACE(" CTextBox::m_cText: %d, m_nMode %d\t\r\n",m_cText.size(),m_nMode);
|
||||
|
||||
m_textBackgroundColor = textBackgroundColor;
|
||||
m_textBackgroundColor = m_old_textBackgroundColor = textBackgroundColor;
|
||||
m_nFontTextHeight = getFontTextHeight();
|
||||
|
||||
//TRACE("[CTextBox] %s Line %d\r\n", __FUNCTION__, __LINE__);
|
||||
|
Reference in New Issue
Block a user