Fix Coverity CID1261288. Idential code for different branches

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-01-12 12:11:26 -05:00
parent 43a0d2a3ae
commit 13ed310a4d
1 changed files with 1 additions and 8 deletions

View File

@ -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);