[gimp] app: add a missing case to a switch in GimpToolRectangle



commit 58a68f5e988160c71101f5d4a39898cafded1df0
Author: Michael Natterer <mitch gimp org>
Date:   Sat Aug 19 20:05:00 2017 +0200

    app: add a missing case to a switch in GimpToolRectangle
    
    The case's code was there but unreachable. This fix probably makes no
    difference, but it was broken.

 app/display/gimptoolrectangle.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimptoolrectangle.c b/app/display/gimptoolrectangle.c
index 6083279..160ed1e 100644
--- a/app/display/gimptoolrectangle.c
+++ b/app/display/gimptoolrectangle.c
@@ -2737,6 +2737,7 @@ gimp_tool_rectangle_setup_snap_offsets (GimpToolRectangle *rectangle,
 
   switch (private->function)
     {
+    case GIMP_TOOL_RECTANGLE_CREATING:
       gimp_tool_widget_set_snap_offsets (widget, 0, 0, 0, 0);
       break;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]