CTextBox: fix missing init of old bg color

Avoids possible usage of wrong color after init.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4d1780486d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-02 (Tue, 02 Feb 2016)



------------------
This commit was generated by Migit
This commit is contained in:
2016-02-02 11:44:13 +01:00
parent bda3e703f6
commit a82bf3d053

View File

@@ -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__);