فهرست منبع

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 10 سال پیش
والد
کامیت
00f2908725
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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)