Ver código fonte

change message to verbose message

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44461 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 anos atrás
pai
commit
bb7566eeb5
1 arquivos alterados com 3 adições e 4 exclusões
  1. 3 4
      lib/vector/Vlib/snap.c

+ 3 - 4
lib/vector/Vlib/snap.c

@@ -147,7 +147,7 @@ Vect_snap_lines_list(struct Map_info *Map, const struct ilist *List_lines,
     point = 1;			/* index starts from 1 ! */
     nvertices = 0;
 
-    G_message(_("Snap vertices (pass 1: select points)..."));
+    G_verbose_message(_("Snap vertices Pass 1: select points"));
     for (line_idx = 0; line_idx < List_lines->n_values; line_idx++) {
 	int v;
 
@@ -190,7 +190,7 @@ Vect_snap_lines_list(struct Map_info *Map, const struct ilist *List_lines,
      * points within threshold.
      * Update anchor for marked points if new anchor is closer. */
 
-    G_message(_("Snap vertices (pass 2: assign anchor vertices)..."));
+    G_verbose_message(_("Snap vertices Pass 2: assign anchor vertices"));
 
     nanchors = ntosnap = 0;
     rbtree_init_trav(&RBTrav1, RBTree);
@@ -271,7 +271,7 @@ Vect_snap_lines_list(struct Map_info *Map, const struct ilist *List_lines,
 
     nsnapped = ncreated = 0;
 
-    G_message(_("Snap vertices (pass 3: snap to assigned points)..."));
+    G_verbose_message(_("Snap vertices Pass 3: snap to assigned points"));
 
     for (line_idx = 0; line_idx < List_lines->n_values; line_idx++) {
 	int v;
@@ -415,7 +415,6 @@ Vect_snap_lines_list(struct Map_info *Map, const struct ilist *List_lines,
 	    }
 	}
     }				/* for each line */
-
     G_percent(line_idx, List_lines->n_values, 2); /* finish it */
 
     Vect_destroy_line_struct(Points);