Commit 145fe40e authored by Marc Lehmann's avatar Marc Lehmann
Browse files

*** empty log message ***

parent c87f7848
Fri Jan 28 02:43:36 CET 2000 Marc Lehmann <pcg@goof.com>
* tools/pdbgen/pdb/gimage_mask.pdb, app/gimage_mask_cmds.c: Allow
zero radius arguments for selection_{shrink,grow,border,feather}.
Fri Jan 28 01:16:35 CET 2000 Marc Lehmann <pcg@goof.com>
 
* PLUGIN_CVS: updated to give Kevin Turner write access to
......
......@@ -626,7 +626,7 @@ selection_feather_invoker (Argument *args)
success = FALSE;
radius = args[1].value.pdb_float;
if (radius <= 0.0)
if (radius < 0.0)
success = FALSE;
if (success)
......@@ -677,7 +677,7 @@ selection_border_invoker (Argument *args)
success = FALSE;
radius = args[1].value.pdb_int;
if (radius <= 0)
if (radius < 0)
success = FALSE;
if (success)
......@@ -728,7 +728,7 @@ selection_grow_invoker (Argument *args)
success = FALSE;
steps = args[1].value.pdb_int;
if (steps <= 0)
if (steps < 0)
success = FALSE;
if (success)
......@@ -779,7 +779,7 @@ selection_shrink_invoker (Argument *args)
success = FALSE;
radius = args[1].value.pdb_int;
if (radius <= 0)
if (radius < 0)
success = FALSE;
if (success)
......
......@@ -46,7 +46,7 @@ sub selection_change_proc {
@inargs = (
&std_image_arg,
{ name => $arg, type => "0 < $type",
{ name => $arg, type => "0 <= $type",
desc => "\u$arg of $op (in pixels)" }
);
......
......@@ -46,7 +46,7 @@ sub selection_change_proc {
@inargs = (
&std_image_arg,
{ name => $arg, type => "0 < $type",
{ name => $arg, type => "0 <= $type",
desc => "\u$arg of $op (in pixels)" }
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment