[GRASS-SVN] r68207 - grass/trunk/general/g.proj

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Apr 3 13:37:43 PDT 2016


Author: martinl
Date: 2016-04-03 13:37:42 -0700 (Sun, 03 Apr 2016)
New Revision: 68207

Modified:
   grass/trunk/general/g.proj/datumtrans.c
Log:
g.proj: fix -p & datumtrans r68205

Modified: grass/trunk/general/g.proj/datumtrans.c
===================================================================
--- grass/trunk/general/g.proj/datumtrans.c	2016-04-02 12:54:11 UTC (rev 68206)
+++ grass/trunk/general/g.proj/datumtrans.c	2016-04-03 20:37:42 UTC (rev 68207)
@@ -130,7 +130,7 @@
 	    G_debug(3, "set_datumtrans(): datum transform terms found "
 		    "with %d options", paramsets);
 
-	    if (paramsets > 1 && status > 0)
+	    if (paramsets > 1 && (status == 1 || datumtrans != 0))
 		/* Parameters are missing and there is a choice to be
                    made / or / user asked to print datum
                    transformation parameters */



More information about the grass-commit mailing list