CComponents: fix missing save of background in paint_bg=false mode

Exit in initVarItem() on !paint_bg was too early.
This commit is contained in:
2013-05-12 14:16:51 +02:00
parent f6413891b2
commit 9ae72bf02d
2 changed files with 6 additions and 4 deletions

View File

@@ -67,9 +67,6 @@ void CComponentsItem::paintInit(bool do_save_bg)
{
clear();
if(!paint_bg)
return;
int sw = shadow ? shadow_w : 0;
int th = fr_thickness;
fb_pixel_t col_frame_cur = col_frame;