[GRASS-SVN] r70122 - grass/branches/releasebranch_7_0/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 22 11:01:56 PST 2016


Author: martinl
Date: 2016-12-22 11:01:56 -0800 (Thu, 22 Dec 2016)
New Revision: 70122

Modified:
   grass/branches/releasebranch_7_0/vector/v.in.ogr/main.c
Log:
v.in.ogr: percent cosmetics (relbr70: merge r70120 from trunk)

Modified: grass/branches/releasebranch_7_0/vector/v.in.ogr/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.in.ogr/main.c	2016-12-22 19:00:58 UTC (rev 70121)
+++ grass/branches/releasebranch_7_0/vector/v.in.ogr/main.c	2016-12-22 19:01:56 UTC (rev 70122)
@@ -1483,7 +1483,6 @@
 	    OGR_L_ResetReading(Ogr_layer);
 
 	    cat = 0;		/* field = layer + 1 */
-	    G_percent(cat, n_features, 2);
 	    while ((Ogr_feature = OGR_L_GetNextFeature(Ogr_layer)) != NULL) {
 		G_percent(cat, n_features, 2);
 
@@ -1512,6 +1511,7 @@
 #endif
 		OGR_F_Destroy(Ogr_feature);
 	    }
+            G_percent(1, 1, 1);
 	}
 
 	/* Write centroids */



More information about the grass-commit mailing list