CTextBox: Fix background paint

Origin commit data
------------------
Commit: ca22cb9241
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-26 (Sat, 26 Oct 2013)
This commit is contained in:
Michael Liebmann
2013-10-26 12:36:18 +02:00
parent e0a5bcce92
commit c3ecec9612

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