[GRASS-SVN] r30104 - grass/trunk/raster/r.out.arc
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Feb 13 00:19:24 EST 2008
Author: hamish
Date: 2008-02-13 00:19:24 -0500 (Wed, 13 Feb 2008)
New Revision: 30104
Modified:
grass/trunk/raster/r.out.arc/main.c
Log:
make sure it gets to 100%
Modified: grass/trunk/raster/r.out.arc/main.c
===================================================================
--- grass/trunk/raster/r.out.arc/main.c 2008-02-12 16:52:10 UTC (rev 30103)
+++ grass/trunk/raster/r.out.arc/main.c 2008-02-13 05:19:24 UTC (rev 30104)
@@ -93,6 +93,7 @@
if (G_parser(argc, argv))
exit (EXIT_FAILURE);
+
sscanf(parm.dp->answer, "%d", &dp);
if(dp>20 || dp < 0)
G_fatal_error("dp has to be from 0 to 20");
@@ -206,6 +207,10 @@
fprintf (fp,"\n");
*/
}
+
+ /* make sure it got to 100% */
+ G_percent(1, 1, 2);
+
G_close_cell(fd);
fclose(fp);
More information about the grass-commit
mailing list