|
@@ -63,7 +63,8 @@ void rdwr_gridatb(void)
|
|
Rast_put_f_row(fd, cell);
|
|
Rast_put_f_row(fd, cell);
|
|
}
|
|
}
|
|
G_percent(i, cellhd.rows, 2);
|
|
G_percent(i, cellhd.rows, 2);
|
|
- fclose(fp);
|
|
|
|
|
|
+ if(fp)
|
|
|
|
+ fclose(fp);
|
|
Rast_close(fd);
|
|
Rast_close(fd);
|
|
|
|
|
|
Rast_put_cell_title(oname, buf);
|
|
Rast_put_cell_title(oname, buf);
|