[gimp/goat-invasion: 99/608] app: move variable to local scope
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 99/608] app: move variable to local scope
- Date: Fri, 27 Apr 2012 20:33:43 +0000 (UTC)
commit b0a837c7c436797e7991dbdf4b2ac252e68da1e1
Author: Michael Natterer <mitch gimp org>
Date: Sat Mar 17 18:20:24 2012 +0100
app: move variable to local scope
app/core/gimpdrawable-blend.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimpdrawable-blend.c b/app/core/gimpdrawable-blend.c
index ee3fd16..b74c226 100644
--- a/app/core/gimpdrawable-blend.c
+++ b/app/core/gimpdrawable-blend.c
@@ -573,7 +573,6 @@ gradient_precalc_shapeburst (GimpImage *image,
gfloat *distp;
gint size;
gpointer pr;
- guchar white[1] = { OPAQUE_OPACITY };
/* allocate the distance map */
distR.tiles = tile_manager_new (PR->w, PR->h, sizeof (gfloat));
@@ -614,6 +613,8 @@ gradient_precalc_shapeburst (GimpImage *image,
}
else
{
+ guchar white[1] = { OPAQUE_OPACITY };
+
/* Otherwise, just fill the shapeburst to white */
color_region (&tempR, white);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]