mirror of https://github.com/GNOME/gimp.git
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:
parent
bedb7e3163
commit
e614d6375e
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue