raster pushed a commit to branch efl-1.20.

http://git.enlightenment.org/core/efl.git/commit/?id=3cb9f169242e1d0a4f271f92d1e32999a347e485

commit 3cb9f169242e1d0a4f271f92d1e32999a347e485
Author: Vitalii Vorobiov <[email protected]>
Date:   Mon Feb 13 16:27:55 2017 +0200

    efl_gfx_path: fix typo in _path_bounds_get
    
    Wrong position was used while going through the array of
    points
    
    @fix
---
 src/lib/efl/interfaces/efl_gfx_path.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/efl/interfaces/efl_gfx_path.c 
b/src/lib/efl/interfaces/efl_gfx_path.c
index 5c3aa64649..be54f2bbe1 100644
--- a/src/lib/efl/interfaces/efl_gfx_path.c
+++ b/src/lib/efl/interfaces/efl_gfx_path.c
@@ -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];

-- 


Reply via email to