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

Exit in initVarItem() on !paint_bg was too early.


Origin commit data
------------------
Commit: 9ae72bf02d
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-12 (Sun, 12 May 2013)
This commit is contained in:
2013-05-12 14:16:51 +02:00
parent 5e2bce7ed0
commit 2b284c0978
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;