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
This commit is contained in:
Jeeyong Um 2017-04-14 10:16:48 +09:00 committed by Jean-Philippe Andre
parent 2b90533e37
commit e2febfd595
1 changed files with 1 additions and 1 deletions

View File

@ -799,7 +799,7 @@ _find_ellipse_coords(double x, double y, double w, double h, double angle,
double angles[2] = { angle, angle + length };
Point *points[2];
if (!EINA_FLT_EQ(w, 0.0) || !EINA_FLT_EQ(h, 0.0))
if (EINA_FLT_EQ(w, 0.0) || EINA_FLT_EQ(h, 0.0))
{
if (start_point)
{