change to foregroung in edit_fill

This commit is contained in:
Stanislav Brabec 2000-02-03 21:44:08 +00:00
parent 1cb829da14
commit 95f9325a9e
4 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
Fri Feb 4 18:27:16 CET 2000 Stanislav Brabec <utx@penguin.cz>
* app/global_edit.c: edit_fill with foreground, not background.
Fri Feb 4 13:56:10 CET 2000 Sven Neumann <sven@gimp.org>
* Makefile.am

View File

@ -431,7 +431,7 @@ edit_fill (GImage *gimage,
if (!gimage || drawable == NULL)
return FALSE;
gimage_get_background (gimage, drawable, col);
gimage_get_foreground (gimage, drawable, col);
if (drawable_has_alpha (drawable))
col [drawable_bytes (drawable) - 1] = OPAQUE_OPACITY;

View File

@ -431,7 +431,7 @@ edit_fill (GImage *gimage,
if (!gimage || drawable == NULL)
return FALSE;
gimage_get_background (gimage, drawable, col);
gimage_get_foreground (gimage, drawable, col);
if (drawable_has_alpha (drawable))
col [drawable_bytes (drawable) - 1] = OPAQUE_OPACITY;

View File

@ -431,7 +431,7 @@ edit_fill (GImage *gimage,
if (!gimage || drawable == NULL)
return FALSE;
gimage_get_background (gimage, drawable, col);
gimage_get_foreground (gimage, drawable, col);
if (drawable_has_alpha (drawable))
col [drawable_bytes (drawable) - 1] = OPAQUE_OPACITY;