Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/imlib2
Dir : e17/libs/imlib2/src/lib
Modified Files:
rend.c
Log Message:
fix digikam crash
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/rend.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- rend.c 1 Nov 2004 09:45:31 -0000 1.1
+++ rend.c 28 Jul 2005 03:10:16 -0000 1.2
@@ -431,11 +431,11 @@
free(back);
return;
}
- memcpy(buf, im->data + ((y + sy) * im->w) + sx,
+ memcpy(buf, im->data + ((y + sy) * im->w),
im->w * hh * sizeof(DATA32));
__imlib_DataCmodApply(buf, dw, hh, im->w - dw, NULL, cmod);
- pointer = buf;
- jump = 0;
+ pointer = buf + sx;
+ jump = im->w - sw;
}
else
{
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs