mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
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:
parent
7f32955006
commit
af8f8ed645
|
@ -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
|
||||
|
|
|
@ -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++)
|
||||
|
|
Loading…
Reference in a new issue