浏览代码

v.generalize: use G_done_msg() when reporting results

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52357 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年之前
父节点
当前提交
2faa9c8758
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      vector/v.generalize/main.c

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

@@ -528,12 +528,12 @@ int main(int argc, char *argv[])
 
     G_message("-----------------------------------------------------");
     if (total_input != 0 && total_input != total_output)
-	G_message(_("Number of vertices for selected lines %s from %d to %d (%d%%)."),
-		  simplification ? _("reduced") : _("changed"), 
-		  total_input, total_output,
-		  (total_output * 100) / total_input);
-
-    G_done_msg(" ");
+	G_done_msg(_("Number of vertices for selected features %s from %d to %d (%d%%)."),
+                   simplification ? _("reduced") : _("changed"), 
+                   total_input, total_output,
+                   (total_output * 100) / total_input);
+    else
+        G_done_msg(" ");
 
     exit(EXIT_SUCCESS);
 }