devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=13ed310a4dacfd111161a59925a59db246f1d8ec

commit 13ed310a4dacfd111161a59925a59db246f1d8ec
Author: Chris Michael <[email protected]>
Date:   Mon Jan 12 12:11:26 2015 -0500

    Fix Coverity CID1261288. Idential code for different branches
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_widget_csel.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/bin/e_widget_csel.c b/src/bin/e_widget_csel.c
index 87b3d9b..68ce617 100644
--- a/src/bin/e_widget_csel.c
+++ b/src/bin/e_widget_csel.c
@@ -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);
 

-- 


Reply via email to