Commit e614d637 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

fixed the call to memcpy() in the CURVE_NONE case.

2008-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcurve-map.c (gimp_curve_map_pixels): fixed the call
	to memcpy() in the CURVE_NONE case.

svn path=/trunk/; revision=25707
parent bedb7e31
2008-05-19 Sven Neumann <sven@gimp.org>
* app/core/gimpcurve-map.c (gimp_curve_map_pixels): fixed the call
to memcpy() in the CURVE_NONE case.
2008-05-18 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Reverting previous change.
......
......@@ -107,7 +107,7 @@ gimp_curve_map_pixels (GimpCurve *curve_colors,
curve_alpha))
{
case CURVE_NONE:
memcpy (dest, src, 4 * sizeof (gfloat));
memcpy (dest, src, samples * 4 * sizeof (gfloat));
break;
case CURVE_COLORS:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment