[GRASS-SVN] r72558 - grass/trunk/display/d.linegraph

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Mar 24 12:55:20 PDT 2018


Author: wenzeslaus
Date: 2018-03-24 12:55:20 -0700 (Sat, 24 Mar 2018)
New Revision: 72558

Modified:
   grass/trunk/display/d.linegraph/main.c
Log:
d.linegraph: fix CLI parameter type (width in D_line_width is double not int)

Modified: grass/trunk/display/d.linegraph/main.c
===================================================================
--- grass/trunk/display/d.linegraph/main.c	2018-03-24 16:50:40 UTC (rev 72557)
+++ grass/trunk/display/d.linegraph/main.c	2018-03-24 19:55:20 UTC (rev 72558)
@@ -374,7 +374,7 @@
     secondary_width_opt = G_define_option();
     secondary_width_opt->key = "secondary_width";
     secondary_width_opt->description = _("Width of point symbol lines");
-    secondary_width_opt->type = TYPE_INTEGER;
+    secondary_width_opt->type = TYPE_DOUBLE;
     secondary_width_opt->required = NO;
     secondary_width_opt->multiple = YES;
     secondary_width_opt->answer = "0.1";



More information about the grass-commit mailing list