mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
@@ -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