浏览代码

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 年之前
父节点
当前提交
1597b13583
共有 1 个文件被更改,包括 4 次插入4 次删除
  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) );
     }