diff options
author | Daniil Bratashov <dn2010@gmail.com> | 2011-05-16 14:39:09 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-05-17 09:56:19 -0500 |
commit | 2be4492162bcb841adb21f8991f45755a561191f (patch) | |
tree | 5cd49617fa2e7dd08bde45806e816a2eecdc1abe /academic/gwyddion/gwyddion-2.24-maskedit-drawing-crash.patch | |
parent | 50bbb646adcfed7455d7ae33e2d3001013388784 (diff) | |
download | slackbuilds-2be4492162bcb841adb21f8991f45755a561191f.tar.gz |
academic/gwyddion: Updated for version 2.24.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'academic/gwyddion/gwyddion-2.24-maskedit-drawing-crash.patch')
-rw-r--r-- | academic/gwyddion/gwyddion-2.24-maskedit-drawing-crash.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/academic/gwyddion/gwyddion-2.24-maskedit-drawing-crash.patch b/academic/gwyddion/gwyddion-2.24-maskedit-drawing-crash.patch new file mode 100644 index 0000000000..49654813cc --- /dev/null +++ b/academic/gwyddion/gwyddion-2.24-maskedit-drawing-crash.patch @@ -0,0 +1,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) |