Переглянути джерело

vlib: formatting issues in build_ogr.c

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47879 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 роки тому
батько
коміт
328c157684
1 змінених файлів з 5 додано та 7 видалено
  1. 5 7
      lib/vector/Vlib/build_ogr.c

+ 5 - 7
lib/vector/Vlib/build_ogr.c

@@ -52,8 +52,7 @@ static void init_parts(GEOM_PARTS * parts)
 }
 
 /*!
-  \brief 
-  Reset parts
+  \brief Reset parts
 */
 static void reset_parts(GEOM_PARTS * parts)
 {
@@ -240,7 +239,7 @@ static int add_geometry(struct Map_info *Map, OGRGeometryH hGeom, int FID,
 				  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 @@ static int add_geometry(struct Map_info *Map, OGRGeometryH hGeom, int FID,
 	}
 
 	/* 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);