[GRASS-SVN] r61748 - grass/branches/develbranch_6/general/g.proj

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


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

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

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