From 30b303edb8890d11acd9aa507754985c86064df0 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 9 Apr 2003 16:29:58 +0000 Subject: [PATCH] fixed boolean logic bug introduced by the fix for bug #110173. Spotted by 2003-04-09 Michael Natterer * 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. --- ChangeLog | 6 ++++++ app/tools/gimpeditselectiontool.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e6cc157cfb..39eee08e92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-04-09 Michael Natterer + + * 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 * app/core/gimpbrushgenerated.c: fixed algorithm that calculates diff --git a/app/tools/gimpeditselectiontool.c b/app/tools/gimpeditselectiontool.c index 845a91b8c8..7917adad3a 100644 --- a/app/tools/gimpeditselectiontool.c +++ b/app/tools/gimpeditselectiontool.c @@ -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);