raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=83eb1aa3c2e15568c89546048d72d7cae071ee42

commit 83eb1aa3c2e15568c89546048d72d7cae071ee42
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Jan 7 17:21:46 2015 +0900

    evas map - new aa map has extra overflow with line list - fix it.
    
    this fixes a feature added in this version of efl. as above.
---
 src/lib/evas/common/evas_map_image_internal.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/evas/common/evas_map_image_internal.c 
b/src/lib/evas/common/evas_map_image_internal.c
index f3238b2..d124eed 100644
--- a/src/lib/evas/common/evas_map_image_internal.c
+++ b/src/lib/evas/common/evas_map_image_internal.c
@@ -76,8 +76,8 @@ FUNC_NAME(RGBA_Image *src, RGBA_Image *dst,
      }
 
    // allocate some spans to hold out span list
-   spans = alloca((yend - ystart + 1) * sizeof(Line));
-   memset(spans, 0, (yend - ystart + 1) * sizeof(Line));
+   spans = alloca((yend - ystart + 3) * sizeof(Line));
+   memset(spans, 0, (yend - ystart + 3) * sizeof(Line));
 
    // calculate the spans list
    _calc_spans(p, spans, ystart, yend, cx, cy, cw, ch);

-- 


Reply via email to