浏览代码

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);