[GRASS-SVN] r60747 - grass/branches/releasebranch_7_0/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 8 02:59:35 PDT 2014


Author: hcho
Date: 2014-06-08 02:59:35 -0700 (Sun, 08 Jun 2014)
New Revision: 60747

Modified:
   grass/branches/releasebranch_7_0/vector/v.in.ogr/main.c
Log:
v.in.ogr: ymax fixed (merge from r60656)


Modified: grass/branches/releasebranch_7_0/vector/v.in.ogr/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.in.ogr/main.c	2014-06-08 09:44:57 UTC (rev 60746)
+++ grass/branches/releasebranch_7_0/vector/v.in.ogr/main.c	2014-06-08 09:59:35 UTC (rev 60747)
@@ -1412,9 +1412,9 @@
 	    else
 		xmax = abs(box.W);
 	    if (abs(box.N) > abs(box.S))
-		xmax = abs(box.N);
+		ymax = abs(box.N);
 	    else
-		xmax = abs(box.S);
+		ymax = abs(box.S);
 
 	    if (xmax < ymax)
 		xmax = ymax;



More information about the grass-commit mailing list