mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
CComponentsItem: fix remove gradient buffer on killed item
Origin commit data
------------------
Commit: 51aab307c3
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-14 (Wed, 14 Jan 2015)
This commit is contained in:
@@ -168,6 +168,10 @@ void CComponentsItem::kill(const fb_pixel_t& bg_color, bool ignore_parent)
|
||||
void CComponentsItem::syncSysColors()
|
||||
{
|
||||
col_body = COL_MENUCONTENT_PLUS_0;
|
||||
if (cc_body_gradientBuf){
|
||||
free(cc_body_gradientBuf);
|
||||
cc_body_gradientBuf = NULL;
|
||||
}
|
||||
col_shadow = COL_MENUCONTENTDARK_PLUS_0;
|
||||
col_frame = COL_MENUCONTENT_PLUS_6;
|
||||
}
|
||||
|
Reference in New Issue
Block a user