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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 26 06:47:48 PDT 2014


Author: neteler
Date: 2014-08-26 06:47:48 -0700 (Tue, 26 Aug 2014)
New Revision: 61746

Modified:
   grass/trunk/general/g.proj/output.c
Log:
g.proj: fix -g output in XY location for eval()

Modified: grass/trunk/general/g.proj/output.c
===================================================================
--- grass/trunk/general/g.proj/output.c	2014-08-26 05:47:37 UTC (rev 61745)
+++ grass/trunk/general/g.proj/output.c	2014-08-26 13:47:48 UTC (rev 61746)
@@ -188,8 +188,9 @@
 {
     if (cellhd.proj == PROJECTION_XY) {
 	if (shell)
-	    fprintf(stdout, "name=");
-	fprintf(stdout, "XY location (unprojected)\n");
+	    fprintf(stdout, "name=xy_location_unprojected\n");
+	else
+	    fprintf(stdout, "XY location (unprojected)\n");
 	return 1;
     }
     else



More information about the grass-commit mailing list