Browse Source

reorder -g output to match g.region -g (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34061 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 16 years ago
parent
commit
1597b13583
1 changed files with 4 additions and 4 deletions
  1. 4 4
      display/d.info/main.c

+ 4 - 4
display/d.info/main.c

@@ -96,15 +96,15 @@ int main(int argc, char *argv[])
 	/* outer bounds of the screen (including margins) */
 	D_setup(0);
 
-	w = D_d_to_u_col(l);
-	e = D_d_to_u_col(r);
 	n = D_d_to_u_row(t);
 	s = D_d_to_u_row(b);
+	w = D_d_to_u_col(l);
+	e = D_d_to_u_col(r);
 
-	fprintf(stdout, "w=%f\n", w );
-	fprintf(stdout, "e=%f\n", e );
 	fprintf(stdout, "n=%f\n", n );
 	fprintf(stdout, "s=%f\n", s );
+	fprintf(stdout, "w=%f\n", w );
+	fprintf(stdout, "e=%f\n", e );
 	fprintf(stdout, "ewres=%.15g\n", (e-w)/(r-l) );
 	fprintf(stdout, "nsres=%.15g\n", (n-s)/(b-t) );
     }