[gimp] app: add a missing case to a switch in GimpToolRectangle
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add a missing case to a switch in GimpToolRectangle
- Date: Sat, 19 Aug 2017 18:06:48 +0000 (UTC)
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]