forked from enlightenment/enlightenment
Fix Coverity CID1261288. Idential code for different branches
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
43a0d2a3ae
commit
13ed310a4d
|
@ -129,14 +129,7 @@ _e_wid_cb_color_changed(void *data, Evas_Object *o)
|
|||
|
||||
/* update the spectrum */
|
||||
if (o != wd->spectrum /* && changed != -1*/)
|
||||
{
|
||||
if (wd->mode == changed ||
|
||||
(wd->mode >= E_COLOR_COMPONENT_H && changed <= E_COLOR_COMPONENT_B) ||
|
||||
(wd->mode <= E_COLOR_COMPONENT_B && changed >= E_COLOR_COMPONENT_H))
|
||||
e_widget_spectrum_update(wd->spectrum, 1);
|
||||
else
|
||||
e_widget_spectrum_update(wd->spectrum, 1);
|
||||
}
|
||||
e_widget_spectrum_update(wd->spectrum, 1);
|
||||
|
||||
e_widget_color_well_update(wd->well);
|
||||
|
||||
|
|
Loading…
Reference in New Issue