summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_path.c
diff options
context:
space:
mode:
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 3501379a75..df424c1d3e 100644
--- a/src/lib/efl/interfaces/efl_gfx_path.c
+++ b/src/lib/efl/interfaces/efl_gfx_path.c
@@ -221,7 +221,7 @@ _efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, Eina_Rect *
221 maxx = pd->points[0]; 221 maxx = pd->points[0];
222 maxy = pd->points[1]; 222 maxy = pd->points[1];
223 223
224 for (i = 1; i < pd->points_count; i += 2) 224 for (i = 2; i < pd->points_count; i += 2)
225 { 225 {
226 minx = minx < pd->points[i] ? minx : pd->points[i]; 226 minx = minx < pd->points[i] ? minx : pd->points[i];
227 miny = miny < pd->points[i + 1] ? miny : pd->points[i + 1]; 227 miny = miny < pd->points[i + 1] ? miny : pd->points[i + 1];