Explorar o código

updating error message since threshold values 0 or 1 are not valid options (ticket https://trac.osgeo.org/grass/ticket/2575)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64400 15284696-431f-4ddb-bdfa-cd5b030d7da7
Margherita Di Leo %!s(int64=10) %!d(string=hai) anos
pai
achega
00f2908725
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      imagery/i.segment/parse_args.c

+ 1 - 1
imagery/i.segment/parse_args.c

@@ -150,7 +150,7 @@ int parse_args(int argc, char *argv[], struct globals *globals)
     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)