[GRASS-SVN] r70120 - grass/trunk/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 22 10:59:43 PST 2016


Author: martinl
Date: 2016-12-22 10:59:43 -0800 (Thu, 22 Dec 2016)
New Revision: 70120

Modified:
   grass/trunk/vector/v.in.ogr/main.c
Log:
v.in.ogr: percent cosmetics

Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c	2016-12-22 14:43:22 UTC (rev 70119)
+++ grass/trunk/vector/v.in.ogr/main.c	2016-12-22 18:59:43 UTC (rev 70120)
@@ -1456,7 +1456,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);
 
@@ -1485,6 +1484,7 @@
 #endif
 		OGR_F_Destroy(Ogr_feature);
 	    }
+            G_percent(1, 1, 1);
 	}
 
 	/* Write centroids */



More information about the grass-commit mailing list