Commit 3cb9f169 authored by Vitalii Vorobiov's avatar Vitalii Vorobiov Committed by Carsten Haitzler (Rasterman)

efl_gfx_path: fix typo in _path_bounds_get

Wrong position was used while going through the array of
points

@fix
parent f5871c09
......@@ -223,7 +223,7 @@ _efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED,
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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment