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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 2 05:35:20 PDT 2016


Author: martinl
Date: 2016-04-02 05:35:20 -0700 (Sat, 02 Apr 2016)
New Revision: 68205

Modified:
   grass/trunk/general/g.proj/datumtrans.c
Log:
g.proj: force datumtrans if defined

Modified: grass/trunk/general/g.proj/datumtrans.c
===================================================================
--- grass/trunk/general/g.proj/datumtrans.c	2016-04-02 10:21:40 UTC (rev 68204)
+++ grass/trunk/general/g.proj/datumtrans.c	2016-04-02 12:35:20 UTC (rev 68205)
@@ -130,7 +130,7 @@
 	    G_debug(3, "set_datumtrans(): datum transform terms found "
 		    "with %d options", paramsets);
 
-	    if (paramsets > 1 && (status == 1 || datumtrans == -1))
+	    if (paramsets > 1 && status > 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