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:
Vitalii Vorobiov 2017-02-13 16:27:55 +02:00 committed by Jean-Philippe Andre
parent 532557cabd
commit 73bfd4f04d
1 changed files with 1 additions and 1 deletions

View File

@ -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];