cc_base.cpp: fix wrong statment value

Comes with 7288284ece


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5f603ed6b0
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-27 (Mon, 27 Apr 2015)



------------------
This commit was generated by Migit
This commit is contained in:
2015-04-27 11:51:01 +02:00
parent 7288284ece
commit 34c6d208c3

View File

@@ -198,7 +198,7 @@ void CComponents::paintFbItems(bool do_save_bg)
//calculate current shadow width depends of current corner_rad
sw_cur = max(2*v_fbdata[i].r, sw);
}
if (cc_allow_paint && is_painted){
if (cc_allow_paint && !is_painted){
// shadow right
frameBuffer->paintBoxRel(x_sh, v_fbdata[i].y, sw_cur, v_fbdata[i].dy-sw_cur, v_fbdata[i].color, v_fbdata[i].r, corner_type & CORNER_TOP_RIGHT);
// shadow bottom