aboutsummaryrefslogtreecommitdiff
path: root/academic/gwyddion/gwyddion-2.24-maskedit-drawing-crash.patch
blob: 49654813cc23a98ede25a8089e8800577c9c16ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: modules/tools/maskedit.c
===================================================================
--- modules/tools/maskedit.c	(revision 12328)
+++ modules/tools/maskedit.c	(revision 12329)
@@ -159,7 +159,7 @@
     N_("Mask editor tool, allows to interactively add or remove parts "
        "of mask."),
     "Yeti <yeti@gwyddion.net>",
-    "3.1",
+    "3.2",
     "David Nečas (Yeti) & Petr Klapetek",
     "2004",
 };
@@ -1524,8 +1524,6 @@
     if (tool->in_setup || tool->args.style != MASK_EDIT_STYLE_DRAWING)
         return;
 
-    g_assert_not_reached();
-
     if (tool->args.tool == MASK_TOOL_PAINT_DRAW)
         fillvalue = 1.0;
     else if (tool->args.tool == MASK_TOOL_PAINT_ERASE)