From 8deae5c09c8cda6f48fb9b0113487567582e6376 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Mon, 15 Mar 2010 15:54:22 -0700 Subject: [PATCH] fixed segfault when rescaling small images --- lib/gfximage.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/gfximage.c b/lib/gfximage.c index b47031f..3e6cfde 100644 --- a/lib/gfximage.c +++ b/lib/gfximage.c @@ -155,10 +155,10 @@ void blurImage(gfxcolor_t*src, int width, int height, int r) for(y=0;y> 16; d[x].a = a >> 16; } - for(x=width-range;x> 16; yy += width; } - for(y=0;y