Explorar el Código

paul: only split at space characters if there is a + character following (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42957 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman hace 15 años
padre
commit
d85935d344
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      general/g.proj/output.c

+ 1 - 1
general/g.proj/output.c

@@ -121,7 +121,7 @@ void print_proj4(int dontprettify)
 	if (i == proj4mod && *i == ' ')
 	    continue;
 
-	if (*i == ' ' && !(dontprettify))
+	if (*i == ' ' && *(i+1) == '+' && !(dontprettify))
 	    fputc('\n', stdout);
 	else
 	    fputc(*i, stdout);