gimp r25652 - trunk/app/core
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25652 - trunk/app/core
- Date: Tue, 13 May 2008 15:44:08 +0100 (BST)
Author: neo
Date: Tue May 13 14:44:08 2008
New Revision: 25652
URL: http://svn.gnome.org/viewvc/gimp?rev=25652&view=rev
Log:
corrected implementation for CURVE_NONE
Modified:
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 Tue May 13 14:44:08 2008
@@ -105,6 +105,16 @@
curve_alpha))
{
case CURVE_NONE:
+ while (samples--)
+ {
+ dest[0] = src[0];
+ dest[1] = src[1];
+ dest[2] = src[2];
+ dest[3] = src[3];
+
+ src += 4;
+ dest += 4;
+ }
break;
case CURVE_COLORS:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]