fixed boolean logic bug introduced by the fix for bug #110173. Spotted by

2003-04-09  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpeditselectiontool.c
	(gimp_edit_selection_tool_button_release): fixed boolean logic bug
	introduced by the fix for bug #110173. Spotted by Pedro Gimeno.
This commit is contained in:
Michael Natterer
2003-04-09 16:29:58 +00:00
committed by Michael Natterer
parent fb23d14946
commit 30b303edb8
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-04-09 Michael Natterer <mitch@gimp.org>
* app/tools/gimpeditselectiontool.c
(gimp_edit_selection_tool_button_release): fixed boolean logic bug
introduced by the fix for bug #110173. Spotted by Pedro Gimeno.
2003-04-09 Sven Neumann <sven@gimp.org>
* app/core/gimpbrushgenerated.c: fixed algorithm that calculates

View File

@ -375,7 +375,7 @@ gimp_edit_selection_tool_button_release (GimpTool *tool,
/* thaw the undo again */
gimp_image_undo_thaw (gdisp->gimage);
if (edit_select->cumlx != 0 && edit_select->cumly != 0)
if (edit_select->cumlx != 0 || edit_select->cumly != 0)
{
path_transform_xy (gdisp->gimage,
edit_select->cumlx, edit_select->cumly);