|
@@ -117,7 +117,7 @@ void read_input_files(void)
|
|
|
G_get_d_raster_row(fd, barc, row);
|
|
|
for (col = 0; col < region.cols; col++) {
|
|
|
BM_set(bitbar, col, row, (barc[col] != 0));
|
|
|
- if (barc[col] != 0)
|
|
|
+ if (parm.dsout && barc[col] != 0)
|
|
|
put(ds, row, col, -1);
|
|
|
}
|
|
|
}
|