gimp r25707 - in trunk: . app/core
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25707 - in trunk: . app/core
- Date: Mon, 19 May 2008 09:02:30 +0000 (UTC)
Author: neo
Date: Mon May 19 09:02:30 2008
New Revision: 25707
URL: http://svn.gnome.org/viewvc/gimp?rev=25707&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/app/core/gimpcurve-map.c
Modified: trunk/app/core/gimpcurve-map.c
==============================================================================
--- trunk/app/core/gimpcurve-map.c (original)
+++ trunk/app/core/gimpcurve-map.c Mon May 19 09:02:30 2008
@@ -107,7 +107,7 @@
curve_alpha))
{
case CURVE_NONE:
- memcpy (dest, src, 4 * sizeof (gfloat));
+ memcpy (dest, src, samples * 4 * sizeof (gfloat));
break;
case CURVE_COLORS:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]