[GRASS-SVN] r33231 - grass/branches/develbranch_6/raster/r.in.bin

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 3 04:50:26 EDT 2008


Author: hamish
Date: 2008-09-03 04:50:25 -0400 (Wed, 03 Sep 2008)
New Revision: 33231

Modified:
   grass/branches/develbranch_6/raster/r.in.bin/main.c
Log:
rows and cols must be int

Modified: grass/branches/develbranch_6/raster/r.in.bin/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.in.bin/main.c	2008-09-03 08:36:16 UTC (rev 33230)
+++ grass/branches/develbranch_6/raster/r.in.bin/main.c	2008-09-03 08:50:25 UTC (rev 33231)
@@ -207,14 +207,14 @@
 
     parm.rows = G_define_option();
     parm.rows->key = "rows";
-    parm.rows->type = TYPE_DOUBLE;
+    parm.rows->type = TYPE_INTEGER;
     parm.rows->required = NO;
     parm.rows->description = _("Number of rows");
     parm.rows->guisection = _("Bounds");
 
     parm.cols = G_define_option();
     parm.cols->key = "cols";
-    parm.cols->type = TYPE_DOUBLE;
+    parm.cols->type = TYPE_INTEGER;
     parm.cols->required = NO;
     parm.cols->description = _("Number of columns");
     parm.cols->guisection = _("Bounds");



More information about the grass-commit mailing list