Commit 27ad396d authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

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.
parent 31b754df
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>
* app/core/gimpdrawable.c: code cleanup.
......@@ -717,10 +717,10 @@ gimp_drawable_fill (GimpDrawable *drawable,
case GIMP_INDEXED:
{
gint index;
guchar index;
gimp_image_transform_color (gimage, drawable, &i, GIMP_RGB, c);
c[INDEXED_PIX] = i;
gimp_image_transform_color (gimage, drawable, &index, GIMP_RGB, c);
c[INDEXED_PIX] = index;
c[ALPHA_I_PIX] = c[ALPHA_PIX];
if (drawable_type != GIMP_INDEXEDA_IMAGE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment