CTextBox: fix missing init of old bg color

Avoids possible usage of wrong color after init.


Origin commit data
------------------
Commit: 4d1780486d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-02 (Tue, 02 Feb 2016)
This commit is contained in:
2016-02-02 11:44:13 +01:00
parent b7ebaf74b9
commit a50e93a532

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