Commit 02012a24 authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

move variable to local scope.

2007-10-23  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-combine.c: move variable to local scope.

	* app/core/gimp-transform-resize.c: formatting.


svn path=/trunk/; revision=23928
parent 54a2298c
2007-10-23 Michael Natterer <mitch@gimp.org>
* app/core/gimpdrawable-combine.c: move variable to local scope.
* app/core/gimp-transform-resize.c: formatting.
2007-10-23 Sven Neumann <sven@gimp.org>
* data/images/gimp-splash.png: splash screen for GIMP 2.4.
......@@ -401,9 +401,9 @@ find_three_point_rectangle (Rectangle *r,
intersect_x (a, i1, i2, &i3))
add_rectangle (points, r, i3, i3, i1, i2);
if ( intersect_y (c, d, a, &i1) &&
intersect_x (b, c, i1, &i2) &&
intersect_y (a, i1, i2, &i3))
if (intersect_y (c, d, a, &i1) &&
intersect_x (b, c, i1, &i2) &&
intersect_y (a, i1, i2, &i3))
add_rectangle (points, r, i3, i3, i1, i2);
}
......
......@@ -50,7 +50,7 @@ gimp_drawable_real_apply_region (GimpDrawable *drawable,
GimpChannel *mask;
gint x1, y1, x2, y2;
gint offset_x, offset_y;
PixelRegion src1PR, destPR, maskPR;
PixelRegion src1PR, destPR;
CombinationMode operation;
gboolean active_components[MAX_CHANNELS];
......@@ -153,6 +153,8 @@ gimp_drawable_real_apply_region (GimpDrawable *drawable,
if (mask)
{
PixelRegion maskPR;
pixel_region_init (&maskPR,
gimp_drawable_get_tiles (GIMP_DRAWABLE (mask)),
x1 + offset_x,
......
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