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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 31 19:49:54 EDT 2010


Author: hamish
Date: 2010-07-31 23:49:54 +0000 (Sat, 31 Jul 2010)
New Revision: 42957

Modified:
   grass/trunk/general/g.proj/output.c
Log:
paul: only split at space characters if there is a + character following (merge from devbr6)

Modified: grass/trunk/general/g.proj/output.c
===================================================================
--- grass/trunk/general/g.proj/output.c	2010-07-31 17:13:09 UTC (rev 42956)
+++ grass/trunk/general/g.proj/output.c	2010-07-31 23:49:54 UTC (rev 42957)
@@ -121,7 +121,7 @@
 	if (i == proj4mod && *i == ' ')
 	    continue;
 
-	if (*i == ' ' && !(dontprettify))
+	if (*i == ' ' && *(i+1) == '+' && !(dontprettify))
 	    fputc('\n', stdout);
 	else
 	    fputc(*i, stdout);



More information about the grass-commit mailing list