mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02:00
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
This commit is contained in:
committed by
Michael Natterer
parent
54a2298c42
commit
02012a2457
@@ -1,3 +1,9 @@
|
||||
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,
|
||||
|
Reference in New Issue
Block a user