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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 9 05:37:04 EDT 2010


Author: hamish
Date: 2010-08-09 09:37:04 +0000 (Mon, 09 Aug 2010)
New Revision: 43016

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

Modified: grass/branches/releasebranch_6_4/general/g.proj/output.c
===================================================================
--- grass/branches/releasebranch_6_4/general/g.proj/output.c	2010-08-08 06:18:38 UTC (rev 43015)
+++ grass/branches/releasebranch_6_4/general/g.proj/output.c	2010-08-09 09:37:04 UTC (rev 43016)
@@ -114,7 +114,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