gimp r25371 - in trunk: . app/widgets



Author: neo
Date: Sat Apr  5 17:15:18 2008
New Revision: 25371
URL: http://svn.gnome.org/viewvc/gimp?rev=25371&view=rev

Log:
2008-04-05  Sven Neumann  <sven gimp org>

	* app/widgets/gimpcolormapeditor.c (gimp_colormap_editor_draw):
	corrected fix for bug #511926.



Modified:
   trunk/ChangeLog
   trunk/app/widgets/gimpcolormapeditor.c

Modified: trunk/app/widgets/gimpcolormapeditor.c
==============================================================================
--- trunk/app/widgets/gimpcolormapeditor.c	(original)
+++ trunk/app/widgets/gimpcolormapeditor.c	Sat Apr  5 17:15:18 2008
@@ -563,7 +563,7 @@
               row[(j * cellsize + k) * 3 + b] = image->colormap[col * 3 + b];
         }
 
-      if (j * cellsize > width)
+      if (j * cellsize < width)
         memset (row + j * cellsize * 3, 255, 3 * (width - j * cellsize));
 
       for (k = 0; k < cellsize; k++)



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