[GRASS-SVN] r47879 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 25 06:42:08 EDT 2011


Author: martinl
Date: 2011-08-25 03:42:08 -0700 (Thu, 25 Aug 2011)
New Revision: 47879

Modified:
   grass/trunk/lib/vector/Vlib/build_ogr.c
Log:
vlib: formatting issues in build_ogr.c


Modified: grass/trunk/lib/vector/Vlib/build_ogr.c
===================================================================
--- grass/trunk/lib/vector/Vlib/build_ogr.c	2011-08-25 10:41:19 UTC (rev 47878)
+++ grass/trunk/lib/vector/Vlib/build_ogr.c	2011-08-25 10:42:08 UTC (rev 47879)
@@ -52,8 +52,7 @@
 }
 
 /*!
-  \brief 
-  Reset parts
+  \brief Reset parts
 */
 static void reset_parts(GEOM_PARTS * parts)
 {
@@ -240,7 +239,7 @@
 				  OGR_G_GetZ(hRing, i));
 	    }
 
-	    /* register line */
+	    /* register boundary */
 	    add_part(parts, iPart);
 	    line = add_line(Map, GV_BOUNDARY, Points[iPart], FID, parts);
 	    del_part(parts);
@@ -275,10 +274,9 @@
 	}
 
 	/* create virtual centroid */
-	ret =
-	    Vect_get_point_in_poly_isl((const struct line_pnts *) Points[0],
-				       (const struct line_pnts **) Points + 1, nRings - 1,
-				       &x, &y);
+	ret = Vect_get_point_in_poly_isl((const struct line_pnts *) Points[0],
+					 (const struct line_pnts **) Points + 1,
+					 nRings - 1, &x, &y);
 	if (ret < -1) {
 	    G_warning(_("Unable to calculate centroid for area %d"),
 		      outer_area);



More information about the grass-commit mailing list