[GRASS-SVN] r34888 - grass/branches/develbranch_6/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 14 20:21:23 EST 2008


Author: hamish
Date: 2008-12-14 20:21:22 -0500 (Sun, 14 Dec 2008)
New Revision: 34888

Modified:
   grass/branches/develbranch_6/lib/gis/null_val.c
Log:
whitespace niceness


Modified: grass/branches/develbranch_6/lib/gis/null_val.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/null_val.c	2008-12-14 21:46:08 UTC (rev 34887)
+++ grass/branches/develbranch_6/lib/gis/null_val.c	2008-12-15 01:21:22 UTC (rev 34888)
@@ -325,12 +325,9 @@
 /*!
  * \brief 
  *
- * If the <em>data_type</em> is CELL_TYPE, calls G_is_c_null_value ((CELL *)
- * rast);
- * If the <em>data_type</em> is FCELL_TYPE, calls G_is_f_null_value ((FCELL
- * *) rast);
- * If the <em>data_type</em> is DCELL_TYPE, calls G_is_d_null_value ((DCELL
- * *) rast);
+ * If the <em>data_type</em> is CELL_TYPE, calls G_is_c_null_value ((CELL *) rast);
+ * If the <em>data_type</em> is FCELL_TYPE, calls G_is_f_null_value ((FCELL *) rast);
+ * If the <em>data_type</em> is DCELL_TYPE, calls G_is_d_null_value ((DCELL *) rast);
  *
  *  \param rast
  *  \param data_type
@@ -367,8 +364,8 @@
 /*!
  * \brief 
  *
- * Returns 1 if <em>cell</em> is
- * NULL, 0 otherwise. This will test if the value <em>cell</em> is the largest <tt>int</tt>.
+ * Returns 1 if <em>cell</em> is NULL, 0 otherwise. This will test if the
+ * value <em>cell</em> is the largest <tt>int</tt>.
  *
  *  \param cell
  *  \return int
@@ -595,8 +592,8 @@
     /* find how many unsigned chars the buffer with bit_num+1 (counting from 0
        has and subtract 1 to get unsigned char index */
     if (ind > G__null_bitstream_size(n) - 1) {
-	G_warning
-	    ("G__check_null_bit: can't access index %d. Size of flags is %d (bit # is %d",
+	G_warning("G__check_null_bit: can't access index %d. "
+		  "Size of flags is %d (bit # is %d",
 	     ind, G__null_bitstream_size(n) - 1, bit_num);
 	return -1;
     }
@@ -646,8 +643,7 @@
 	    }
 	    else if (count < ncols) {
 		v = v |
-		    ((unsigned char)G__check_null_bit(flags, count, ncols) <<
-		     k);
+		    ((unsigned char)G__check_null_bit(flags, count, ncols) << k);
 	    }
 
 	    /* otherwise  keep this bit the same as it was */



More information about the grass-commit mailing list