瀏覽代碼

v.generalize: Use G_warning() to warn about not generalized lines and boundaries (trunk, https://trac.osgeo.org/grass/changeset/61275)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@61303 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 10 年之前
父節點
當前提交
1943305841
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      vector/v.generalize/main.c

+ 2 - 2
vector/v.generalize/main.c

@@ -552,10 +552,10 @@ int main(int argc, char *argv[])
 	    total_output += after;
 	}
 	if (not_modified_boundaries > 0)
-	    G_message(_("%d boundaries were not modified because modification would damage topology"),
+	    G_warning(_("%d boundaries were not modified because modification would damage topology"),
 		      not_modified_boundaries);
 	if (n_oversimplified > 0)
-	    G_message(_("%d lines/boundaries were not modified due to over-simplification"),
+	    G_warning(_("%d lines/boundaries were not modified due to over-simplification"),
 		      n_oversimplified);
 	G_message("-----------------------------------------------------");