app: actually use the needed cairo stride in gimp_scan_convert_render_full()

This commit is contained in:
Michael Natterer
2012-05-13 22:57:58 +02:00
parent 14b51cc558
commit e7618dab31

View File

@ -500,7 +500,7 @@ gimp_scan_convert_render_full (GimpScanConvert *sc,
const guchar *src = data;
guchar *dest;
dest = tmp_buf = g_alloca (roi->width * roi->height * bpp);
dest = tmp_buf = g_alloca (stride * roi->height);
if (! replace)
{