[GRASS-SVN] r58962 - grass/branches/develbranch_6/raster/r.li/r.li.edgedensity
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 8 21:00:58 PST 2014
Author: hamish
Date: 2014-02-08 21:00:58 -0800 (Sat, 08 Feb 2014)
New Revision: 58962
Modified:
grass/branches/develbranch_6/raster/r.li/r.li.edgedensity/edgedensity.c
Log:
minor comment whitespace/reformatting
Modified: grass/branches/develbranch_6/raster/r.li/r.li.edgedensity/edgedensity.c
===================================================================
--- grass/branches/develbranch_6/raster/r.li/r.li.edgedensity/edgedensity.c 2014-02-09 04:59:56 UTC (rev 58961)
+++ grass/branches/develbranch_6/raster/r.li/r.li.edgedensity/edgedensity.c 2014-02-09 05:00:58 UTC (rev 58962)
@@ -679,16 +679,19 @@
return RLI_ERRORE;
}
- G_set_f_null_value(buf_sup + ad->x, ad->cl); /*the first time buf_sup is all null */
+ /* the first time buf_sup is all null */
+ G_set_f_null_value(buf_sup + ad->x, ad->cl);
- for (j = 0; j < ad->rl; j++) { /* for each raster row */
+ /* for each raster row */
+ for (j = 0; j < ad->rl; j++) {
- buf_corr = RLI_get_fcell_raster_row(fd, j + ad->y, ad); /* read row of raster */
+ /* read row of raster */
+ buf_corr = RLI_get_fcell_raster_row(fd, j + ad->y, ad);
if (j > 0) /* not first row */
buf_sup = RLI_get_fcell_raster_row(fd, j - 1 + ad->y, ad);
- if ((j + 1) < ad->rl) { /*not last row */
+ if ((j + 1) < ad->rl) { /* not last row */
buf_inf = RLI_get_fcell_raster_row(fd, 1 + j + ad->y, ad);
}
More information about the grass-commit
mailing list