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

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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9ae72bf02d
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-12 (Sun, 12 May 2013)



------------------
This commit was generated by Migit
This commit is contained in:
2013-05-12 14:16:51 +02:00
parent 5186371bb5
commit 70501b38d0
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;