CTextBox: Fix background paint

Origin commit data
------------------
Branch: ni/coolstream
Commit: ca22cb9241
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-26 (Sat, 26 Oct 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2013-10-26 12:36:18 +02:00
parent d9e24b8aa0
commit 4a929211c9

View File

@@ -554,7 +554,7 @@ void CTextBox::refreshText(void)
delete[] m_bgpixbuf;
m_bgpixbuf = NULL;
}
if (has_changed){
if (m_old_cText != m_cText || has_changed){
//TRACE("[CTextBox] %s paint bg %d\r\n", __FUNCTION__, __LINE__);
frameBuffer->paintBoxRel(ax, ay, dx, dy, m_textBackgroundColor, m_nBgRadius, m_nBgRadiusType);
}