app: actually use the needed cairo stride in gimp_scan_convert_render_full()
This commit is contained in:
@ -500,7 +500,7 @@ gimp_scan_convert_render_full (GimpScanConvert *sc,
|
|||||||
const guchar *src = data;
|
const guchar *src = data;
|
||||||
guchar *dest;
|
guchar *dest;
|
||||||
|
|
||||||
dest = tmp_buf = g_alloca (roi->width * roi->height * bpp);
|
dest = tmp_buf = g_alloca (stride * roi->height);
|
||||||
|
|
||||||
if (! replace)
|
if (! replace)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user