mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
textbox.cpp: check for pix buffer content first for shure
This commit is contained in:
@@ -607,8 +607,9 @@ void CTextBox::refreshText(void)
|
||||
if (has_changed)
|
||||
clearScreenBuffer();
|
||||
|
||||
if(m_bgpixbuf && (m_old_cText != m_cText))
|
||||
frameBuffer->RestoreScreen(m_old_x, m_old_y, m_old_dx, m_old_dy, m_bgpixbuf);
|
||||
if(m_bgpixbuf)
|
||||
if (m_old_cText != m_cText)
|
||||
frameBuffer->RestoreScreen(m_old_x, m_old_y, m_old_dx, m_old_dy, m_bgpixbuf);
|
||||
|
||||
if (m_bgpixbuf){
|
||||
frameBuffer->RestoreScreen(m_old_x, m_old_y, m_old_dx, m_old_dy, m_bgpixbuf);
|
||||
|
Reference in New Issue
Block a user