[GRASS-SVN] r61747 - grass/branches/releasebranch_7_0/general/g.proj

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


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

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

Modified: grass/branches/releasebranch_7_0/general/g.proj/output.c
===================================================================
--- grass/branches/releasebranch_7_0/general/g.proj/output.c	2014-08-26 13:47:48 UTC (rev 61746)
+++ grass/branches/releasebranch_7_0/general/g.proj/output.c	2014-08-26 13:47:55 UTC (rev 61747)
@@ -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