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
This commit is contained in:
Sven Neumann 2008-05-19 09:02:30 +00:00 committed by Sven Neumann
parent bedb7e3163
commit e614d6375e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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: