gimp r28081 - in branches/gimp-2-6: . plug-ins/common



Author: neo
Date: Sat Feb 28 17:36:19 2009
New Revision: 28081
URL: http://svn.gnome.org/viewvc/gimp?rev=28081&view=rev

Log:
2009-02-28  Sven Neumann  <sven gimp org>

	Merged from trunk:

	Bug 573488 â Small bug in Filter>Distorts>Ripple

	* plug-ins/common/ripple.c (ripple_vertical): fixed bug spotted 
in
	SMEAR mode, pointed out by Andreas Groth.



Modified:
   branches/gimp-2-6/ChangeLog
   branches/gimp-2-6/plug-ins/common/ripple.c

Modified: branches/gimp-2-6/plug-ins/common/ripple.c
==============================================================================
--- branches/gimp-2-6/plug-ins/common/ripple.c	(original)
+++ branches/gimp-2-6/plug-ins/common/ripple.c	Sat Feb 28 17:36:19 2009
@@ -288,9 +288,9 @@
   /* Smear out the edges of the image by repeating pixels. */
   else if (rvals.edges == SMEAR)
     {
-      needy= CLAMP (needy   , 0, height - 1);
-      yi   = CLAMP (yi      , 0, height - 1);
-      yi_a = CLAMP (yi_a + 1, 0, height - 1);
+      needy = CLAMP (needy, 0, height - 1);
+      yi    = CLAMP (yi,    0, height - 1);
+      yi_a  = CLAMP (yi_a,  0, height - 1);
     }
 
   if (rvals.antialias)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]