[GRASS-SVN] r69006 - grass/trunk/display/d.barscale

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 18 08:37:15 PDT 2016


Author: annakrat
Date: 2016-07-18 08:37:14 -0700 (Mon, 18 Jul 2016)
New Revision: 69006

Modified:
   grass/trunk/display/d.barscale/main.c
Log:
d.barscale: when user is in feet location, use feet/miles by default

Modified: grass/trunk/display/d.barscale/main.c
===================================================================
--- grass/trunk/display/d.barscale/main.c	2016-07-18 15:15:08 UTC (rev 69005)
+++ grass/trunk/display/d.barscale/main.c	2016-07-18 15:37:14 UTC (rev 69006)
@@ -268,12 +268,15 @@
             label = "km";
             break;
         case U_FEET:
+            use_feet = 1;
             label = "ft";
             break;
         case U_USFEET:
+            use_feet = 1;
             label = "ft";
             break;
         case U_MILES:
+            use_feet = 1;
             label = "mi";
             break;
         default:



More information about the grass-commit mailing list