From 41f102f1ab85264342a8ebce1de97ed85ca051f9 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Thu, 22 May 2008 05:44:28 +0000 Subject: [PATCH] Don't return in the middle of the function. 2008-05-22 Martin Nordholts * app/tools/gimpfreeselecttool.c (gimp_free_select_tool_cursor_update): Don't return in the middle of the function. svn path=/trunk/; revision=25746 --- ChangeLog | 6 ++++++ app/tools/gimpfreeselecttool.c | 10 +++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 47036989a5..f51eb29494 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-05-22 Martin Nordholts + + * app/tools/gimpfreeselecttool.c + (gimp_free_select_tool_cursor_update): Don't return in the middle + of the function. + 2008-05-21 Martin Nordholts * app/tools/gimpforegroundselecttool.c diff --git a/app/tools/gimpfreeselecttool.c b/app/tools/gimpfreeselecttool.c index 75ebd91bcb..9232237f3e 100644 --- a/app/tools/gimpfreeselecttool.c +++ b/app/tools/gimpfreeselecttool.c @@ -937,10 +937,14 @@ gimp_free_select_tool_cursor_update (GimpTool *tool, gimp_tool_control_get_tool_cursor (tool->control), GIMP_CURSOR_MODIFIER_MOVE); - return; } - - GIMP_TOOL_CLASS (parent_class)->cursor_update (tool, coords, state, display); + else + { + GIMP_TOOL_CLASS (parent_class)->cursor_update (tool, + coords, + state, + display); + } } static void