mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
widget/textbox: cpp: try to fix possible issue while restore screen
maybe possible crash
Origin commit data
------------------
Branch: ni/coolstream
Commit: 17d0947446
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-01-01 (Tue, 01 Jan 2019)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -658,7 +658,7 @@ void CTextBox::refreshText(void)
|
||||
}
|
||||
}
|
||||
else{
|
||||
if (m_bgpixbuf){
|
||||
if (m_bgpixbuf && m_bg_painted){
|
||||
if (allow_paint_bg){
|
||||
//TRACE("[CTextBox] %s restore bg %d\r\n", __FUNCTION__, __LINE__);
|
||||
frameBuffer->RestoreScreen(ax, ay, dx, dy, m_bgpixbuf);
|
||||
|
Reference in New Issue
Block a user