corrected fix for bug #511926.

2008-04-05  Sven Neumann  <sven@gimp.org>

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


svn path=/trunk/; revision=25371
This commit is contained in:
Sven Neumann 2008-04-05 16:15:18 +00:00 committed by Sven Neumann
parent 7f32955006
commit af8f8ed645
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-04-05 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcolormapeditor.c (gimp_colormap_editor_draw):
corrected fix for bug #511926.
2008-04-04 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/text_layer.pdb: reorder functions so getters

View file

@ -563,7 +563,7 @@ gimp_colormap_editor_draw (GimpColormapEditor *editor)
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++)