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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 29 10:04:57 EDT 2010


Author: pkelly
Date: 2010-07-29 14:04:57 +0000 (Thu, 29 Jul 2010)
New Revision: 42943

Modified:
   grass/branches/develbranch_6/general/g.proj/output.c
Log:
Fix bug reported by Hamish: only split at space characters
if there is a + character following


Modified: grass/branches/develbranch_6/general/g.proj/output.c
===================================================================
--- grass/branches/develbranch_6/general/g.proj/output.c	2010-07-29 12:38:04 UTC (rev 42942)
+++ grass/branches/develbranch_6/general/g.proj/output.c	2010-07-29 14:04:57 UTC (rev 42943)
@@ -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