From: Cedric BAIL Date: Tue, 20 Dec 2016 18:04:54 +0000 (-0800) Subject: evas: fix proper operator ordering with parentheses. X-Git-Tag: upstream/1.20.0~2697 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ada014ec09176d9eb7c64eed9c3c68c135dd1e71;p=platform%2Fupstream%2Fefl.git evas: fix proper operator ordering with parentheses. --- diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c index 186d7e5..c4b7668 100644 --- a/src/lib/evas/canvas/evas_object_image.c +++ b/src/lib/evas/canvas/evas_object_image.c @@ -2753,10 +2753,10 @@ evas_object_image_is_opaque(Evas_Object *eo_obj EINA_UNUSED, (EINA_DBL_CMP(m->points[1].x, m->points[2].x)) && (EINA_DBL_CMP(m->points[0].y, m->points[1].y)) && (EINA_DBL_CMP(m->points[2].y, m->points[3].y))) || - (EINA_DBL_CMP(m->points[0].x, m->points[1].x)) && - (EINA_DBL_CMP(m->points[2].x, m->points[3].x)) && - (EINA_DBL_CMP(m->points[0].y, m->points[3].y)) && - (EINA_DBL_CMP(m->points[1].y, m->points[2].y))) + ((EINA_DBL_CMP(m->points[0].x, m->points[1].x)) && + (EINA_DBL_CMP(m->points[2].x, m->points[3].x)) && + (EINA_DBL_CMP(m->points[0].y, m->points[3].y)) && + (EINA_DBL_CMP(m->points[1].y, m->points[2].y)))) { if ((EINA_DBL_CMP(m->points[0].x, obj->cur->geometry.x)) && (EINA_DBL_CMP(m->points[0].y, obj->cur->geometry.y)) && @@ -2849,10 +2849,10 @@ evas_object_image_was_opaque(Evas_Object *eo_obj EINA_UNUSED, (EINA_DBL_CMP(m->points[1].x, m->points[2].x)) && (EINA_DBL_CMP(m->points[0].y, m->points[1].y)) && (EINA_DBL_CMP(m->points[2].y, m->points[3].y))) || - (EINA_DBL_CMP(m->points[0].x, m->points[1].x)) && - (EINA_DBL_CMP(m->points[2].x, m->points[3].x)) && - (EINA_DBL_CMP(m->points[0].y, m->points[3].y)) && - (EINA_DBL_CMP(m->points[1].y, m->points[2].y))) + ((EINA_DBL_CMP(m->points[0].x, m->points[1].x)) && + (EINA_DBL_CMP(m->points[2].x, m->points[3].x)) && + (EINA_DBL_CMP(m->points[0].y, m->points[3].y)) && + (EINA_DBL_CMP(m->points[1].y, m->points[2].y)))) { if ((EINA_DBL_CMP(m->points[0].x, obj->prev->geometry.x)) && (EINA_DBL_CMP(m->points[0].y, obj->prev->geometry.y)) &&