Commit d2375568 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

fixed an issue with the fix for bug #413906.

2007-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c (autocrop): fixed an issue with the
	fix for bug #413906.


svn path=/trunk/; revision=22810
parent 33429e9f
2007-06-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/autocrop.c (autocrop): fixed an issue with the
fix for bug #413906.
2007-06-20 Sven Neumann <sven@gimp.org>
 
* plug-ins/common/animationplay.c: applied patch from Paul Seidel
......@@ -294,10 +294,12 @@ autocrop (GimpDrawable *drawable,
g_free (buffer);
gimp_drawable_detach (drawable);
if (layer_only &&
(x2 - x1 != width || y2 - y1 != height))
if (layer_only)
{
gimp_layer_resize (layer_id, x2 - x1, y2 - y1, -x1, -y1);
if (x2 - x1 != width || y2 - y1 != height)
{
gimp_layer_resize (layer_id, x2 - x1, y2 - y1, -x1, -y1);
}
}
else
{
......
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