[GRASS-SVN] r64456 - grass/branches/releasebranch_7_0/imagery/i.segment

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 4 00:39:11 PST 2015


Author: madi
Date: 2015-02-04 00:39:11 -0800 (Wed, 04 Feb 2015)
New Revision: 64456

Modified:
   grass/branches/releasebranch_7_0/imagery/i.segment/parse_args.c
Log:
fix bug #2575: updating threshold error message (merge from trunk r64400)

Modified: grass/branches/releasebranch_7_0/imagery/i.segment/parse_args.c
===================================================================
--- grass/branches/releasebranch_7_0/imagery/i.segment/parse_args.c	2015-02-04 08:28:21 UTC (rev 64455)
+++ grass/branches/releasebranch_7_0/imagery/i.segment/parse_args.c	2015-02-04 08:39:11 UTC (rev 64456)
@@ -150,7 +150,7 @@
     globals->alpha = atof(threshold->answer);
 
     if (globals->alpha <= 0 || globals->alpha >= 1)
-	G_fatal_error(_("Threshold should be >= 0 and <= 1"));
+	G_fatal_error(_("Threshold should be > 0 and < 1"));
 
     /* segmentation methods:  1 = region growing */
     if (strcmp(method->answer, "region_growing") == 0)



More information about the grass-commit mailing list