summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_path.c
diff options
context:
space:
mode:
authorJeeyong Um <conr2d@gmail.com>2017-04-14 10:16:48 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2017-04-14 10:16:48 +0900
commitf370ea803b977c245f173bae1b3b904e9bb68e38 (patch)
treedc432f45fd4bdaf448a3eac56ab66782be93c7f5 /src/lib/efl/interfaces/efl_gfx_path.c
parent9883831b761c9a7e4681a259487fbfd07d1a0d9f (diff)
Efl.Gfx.Path: Fix wrong condition check in _find_ellipsis_coords
Summary: In previous patch, !w should be replaced with EINA_FLT_EQ(w, 0.0), but it was replaced with !EINA_FLT_EQ(w, 0.0). This breaks rounded rectangle. T5291 Test Plan: compile and run attached file Reviewers: cedric, jpeg, Jaehyun_Cho Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D4787
Diffstat (limited to '')
-rw-r--r--src/lib/efl/interfaces/efl_gfx_path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx_path.c b/src/lib/efl/interfaces/efl_gfx_path.c
index 964ca2b496..e593cbf94b 100644
--- a/src/lib/efl/interfaces/efl_gfx_path.c
+++ b/src/lib/efl/interfaces/efl_gfx_path.c
@@ -799,7 +799,7 @@ _find_ellipse_coords(double x, double y, double w, double h, double angle,
799 double angles[2] = { angle, angle + length }; 799 double angles[2] = { angle, angle + length };
800 Point *points[2]; 800 Point *points[2];
801 801
802 if (!EINA_FLT_EQ(w, 0.0) || !EINA_FLT_EQ(h, 0.0)) 802 if (EINA_FLT_EQ(w, 0.0) || EINA_FLT_EQ(h, 0.0))
803 { 803 {
804 if (start_point) 804 if (start_point)
805 { 805 {