ソースを参照

v.what.rast: no features message wording, switched to be a warning (#1323)

Martin Landa 4 年 前
コミット
d293de4259
1 ファイル変更2 行追加2 行削除
  1. 2 2
      vector/v.what.rast/main.c

+ 2 - 2
vector/v.what.rast/main.c

@@ -271,8 +271,8 @@ int main(int argc, char *argv[])
     }
 
     if (point_cnt < 1) {
-        G_important_message(_("No features of type (%s) found in vector map <%s>"),
-                            opt.type->answer, opt.vect->answer);
+        G_warning(_("No features of type (%s) found in the current computational region"),
+                  opt.type->answer);
         exit(EXIT_SUCCESS);
     }
     G_debug(1, "Read %d vector points", point_cnt);