made my last commit compile. Sorry.
2003-09-06 Michael Natterer <mitch@gimp.org> * app/core/gimpdrawable.c (gimp_drawable_fill): made my last commit compile. Sorry.
This commit is contained in:

committed by
Michael Natterer

parent
31b754df21
commit
27ad396d10
@ -1,3 +1,8 @@
|
|||||||
|
2003-09-06 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* app/core/gimpdrawable.c (gimp_drawable_fill): made my last
|
||||||
|
commit compile. Sorry.
|
||||||
|
|
||||||
2003-09-06 Michael Natterer <mitch@gimp.org>
|
2003-09-06 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/core/gimpdrawable.c: code cleanup.
|
* app/core/gimpdrawable.c: code cleanup.
|
||||||
|
@ -717,10 +717,10 @@ gimp_drawable_fill (GimpDrawable *drawable,
|
|||||||
|
|
||||||
case GIMP_INDEXED:
|
case GIMP_INDEXED:
|
||||||
{
|
{
|
||||||
gint index;
|
guchar index;
|
||||||
|
|
||||||
gimp_image_transform_color (gimage, drawable, &i, GIMP_RGB, c);
|
gimp_image_transform_color (gimage, drawable, &index, GIMP_RGB, c);
|
||||||
c[INDEXED_PIX] = i;
|
c[INDEXED_PIX] = index;
|
||||||
c[ALPHA_I_PIX] = c[ALPHA_PIX];
|
c[ALPHA_I_PIX] = c[ALPHA_PIX];
|
||||||
|
|
||||||
if (drawable_type != GIMP_INDEXEDA_IMAGE)
|
if (drawable_type != GIMP_INDEXEDA_IMAGE)
|
||||||
|
Reference in New Issue
Block a user