From 95f9325a9ea9e717f9f5600390f8eec4af4fdc7b Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Thu, 3 Feb 2000 21:44:08 +0000 Subject: [PATCH] change to foregroung in edit_fill --- ChangeLog | 4 ++++ app/core/gimp-edit.c | 2 +- app/core/gimpedit.c | 2 +- app/global_edit.c | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ae8c40e304..a236f34427 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Feb 4 18:27:16 CET 2000 Stanislav Brabec + + * app/global_edit.c: edit_fill with foreground, not background. + Fri Feb 4 13:56:10 CET 2000 Sven Neumann * Makefile.am diff --git a/app/core/gimp-edit.c b/app/core/gimp-edit.c index e94e275266..9b1f97bb0f 100644 --- a/app/core/gimp-edit.c +++ b/app/core/gimp-edit.c @@ -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; diff --git a/app/core/gimpedit.c b/app/core/gimpedit.c index e94e275266..9b1f97bb0f 100644 --- a/app/core/gimpedit.c +++ b/app/core/gimpedit.c @@ -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; diff --git a/app/global_edit.c b/app/global_edit.c index e94e275266..9b1f97bb0f 100644 --- a/app/global_edit.c +++ b/app/global_edit.c @@ -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;