[GRASS-SVN] r71325 - grass/trunk/imagery/i.ortho.photo/lib

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 4 10:20:27 PDT 2017


Author: ychemin
Date: 2017-08-04 10:20:27 -0700 (Fri, 04 Aug 2017)
New Revision: 71325

Modified:
   grass/trunk/imagery/i.ortho.photo/lib/ref_points.c
Log:
fixed bug

Modified: grass/trunk/imagery/i.ortho.photo/lib/ref_points.c
===================================================================
--- grass/trunk/imagery/i.ortho.photo/lib/ref_points.c	2017-08-04 10:03:58 UTC (rev 71324)
+++ grass/trunk/imagery/i.ortho.photo/lib/ref_points.c	2017-08-04 17:20:27 UTC (rev 71325)
@@ -30,7 +30,7 @@
 	G_strip(buf);
 	if (*buf == '#' || *buf == 0)
 	    continue;
-	if (sscanf(buf, "%lf%lf%lf%lf%d", &e1, &n1, &e2, &n2, &status) == 7)
+	if (sscanf(buf, "%lf%lf%lf%lf%d", &e1, &n1, &e2, &n2, &status) == 5)
 	    I_new_ref_point(cp, e1, n1, e2, n2, status);
 	else
 	    return -4;



More information about the grass-commit mailing list