forked from enlightenment/efl
efl_gfx_path: fix typo in _path_bounds_get
Wrong position was used while going through the array of points @fix
This commit is contained in:
parent
532557cabd
commit
73bfd4f04d
|
@ -221,7 +221,7 @@ _efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, Eina_Rect *
|
|||
maxx = pd->points[0];
|
||||
maxy = pd->points[1];
|
||||
|
||||
for (i = 1; i < pd->points_count; i += 2)
|
||||
for (i = 2; i < pd->points_count; i += 2)
|
||||
{
|
||||
minx = minx < pd->points[i] ? minx : pd->points[i];
|
||||
miny = miny < pd->points[i + 1] ? miny : pd->points[i + 1];
|
||||
|
|
Loading…
Reference in New Issue