[GRASS-SVN] r52521 - grass/trunk/lib/vector/diglib

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 4 11:26:04 PDT 2012


Author: mmetz
Date: 2012-08-04 11:26:03 -0700 (Sat, 04 Aug 2012)
New Revision: 52521

Modified:
   grass/trunk/lib/vector/diglib/spindex.c
   grass/trunk/lib/vector/diglib/spindex_rw.c
Log:
diglib: cosmetics

Modified: grass/trunk/lib/vector/diglib/spindex.c
===================================================================
--- grass/trunk/lib/vector/diglib/spindex.c	2012-08-04 18:24:40 UTC (rev 52520)
+++ grass/trunk/lib/vector/diglib/spindex.c	2012-08-04 18:26:03 UTC (rev 52521)
@@ -704,8 +704,8 @@
    \return number of selected lines
    \return 0 not found
  */
-int dig_select_lines(struct Plus_head *Plus, const struct bound_box *box,
-		      struct boxlist *list)
+int dig_select_lines(struct Plus_head *Plus, const struct bound_box *box, 
+                     struct boxlist *list)
 {
     static struct RTree_Rect rect;
     static int rect_init = 0;
@@ -838,10 +838,10 @@
 	rect_init = 6;
     }
 
-    G_debug(3, "dig_find_line_box()");
+    G_debug(3, "dig_find_area_box()");
 
     if (list->n_values < 1)
-	G_fatal_error(_("Unable to get area bounding box. No feature id given."));
+	G_fatal_error(_("No area id given"));
 
     rect.boundary[0] = list->box[0].W;
     rect.boundary[1] = list->box[0].S;
@@ -920,10 +920,10 @@
 	rect_init = 6;
     }
 
-    G_debug(3, "dig_find_line_box()");
+    G_debug(3, "dig_find_isle_box()");
 
     if (list->n_values < 1)
-	G_fatal_error(_("No line id given"));
+	G_fatal_error(_("No isle id given"));
 
     rect.boundary[0] = list->box[0].W;
     rect.boundary[1] = list->box[0].S;

Modified: grass/trunk/lib/vector/diglib/spindex_rw.c
===================================================================
--- grass/trunk/lib/vector/diglib/spindex_rw.c	2012-08-04 18:24:40 UTC (rev 52520)
+++ grass/trunk/lib/vector/diglib/spindex_rw.c	2012-08-04 18:26:03 UTC (rev 52521)
@@ -1315,8 +1315,8 @@
 
    \return number of qualifying rectangles
  */
-int rtree_search(struct RTree *t, struct RTree_Rect *r, SearchHitCallback shcb,
-		 void *cbarg, struct Plus_head *Plus)
+int rtree_search(struct RTree *t, struct RTree_Rect *r,
+                 SearchHitCallback shcb, void *cbarg, struct Plus_head *Plus)
 {
     int hitCount = 0, found, maxcard;
     int i, j;



More information about the grass-commit mailing list