[GRASS-SVN] r61749 - grass/branches/releasebranch_6_4/general/g.proj

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 26 06:52:44 PDT 2014


Author: neteler
Date: 2014-08-26 06:52:44 -0700 (Tue, 26 Aug 2014)
New Revision: 61749

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

Modified: grass/branches/releasebranch_6_4/general/g.proj/output.c
===================================================================
--- grass/branches/releasebranch_6_4/general/g.proj/output.c	2014-08-26 13:48:11 UTC (rev 61748)
+++ grass/branches/releasebranch_6_4/general/g.proj/output.c	2014-08-26 13:52:44 UTC (rev 61749)
@@ -189,8 +189,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