[GRASS-SVN] r58967 - grass/trunk/raster/r.li/r.li.edgedensity
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 8 22:28:28 PST 2014
Author: hamish
Date: 2014-02-08 22:28:28 -0800 (Sat, 08 Feb 2014)
New Revision: 58967
Modified:
grass/trunk/raster/r.li/r.li.edgedensity/edgedensity.c
Log:
minor whitespace
Modified: grass/trunk/raster/r.li/r.li.edgedensity/edgedensity.c
===================================================================
--- grass/trunk/raster/r.li/r.li.edgedensity/edgedensity.c 2014-02-09 06:21:58 UTC (rev 58966)
+++ grass/trunk/raster/r.li/r.li.edgedensity/edgedensity.c 2014-02-09 06:28:28 UTC (rev 58967)
@@ -178,7 +178,7 @@
buf_sup = RLI_get_cell_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_cell_raster_row(fd, 1 + j + ad->y, ad);
}
else {
@@ -198,7 +198,7 @@
}
- if ((j + 1) < ad->rl) { /*not last row */
+ if ((j + 1) < ad->rl) { /* not last row */
if (read(mask_fd, mask_inf, (ad->cl * sizeof(int))) < 0) {
G_fatal_error("reading mask_inf");
return RLI_ERRORE;
@@ -433,7 +433,7 @@
buf_sup = RLI_get_dcell_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_dcell_raster_row(fd, 1 + j + ad->y, ad);
}
@@ -456,7 +456,7 @@
}
- if ((j + 1) < ad->rl) { /*not last row */
+ if ((j + 1) < ad->rl) { /* not last row */
if (read(mask_fd, mask_inf, (ad->cl * sizeof(int))) < 0) {
G_fatal_error("reading mask_inf");
return RLI_ERRORE;
@@ -684,7 +684,7 @@
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);
}
@@ -706,7 +706,7 @@
return RLI_ERRORE;
}
- if ((j + 1) < ad->rl) { /*not last row */
+ if ((j + 1) < ad->rl) { /* not last row */
if (read(mask_fd, mask_inf, (ad->cl * sizeof(int))) < 0) {
G_fatal_error("reading mask_inf");
return RLI_ERRORE;
More information about the grass-commit
mailing list