[GRASS-SVN] r54434 - grass/trunk/imagery/i.ortho.photo/i.ortho.camera

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 28 01:17:32 PST 2012


Author: neteler
Date: 2012-12-28 01:17:31 -0800 (Fri, 28 Dec 2012)
New Revision: 54434

Modified:
   grass/trunk/imagery/i.ortho.photo/i.ortho.camera/main.c
Log:
typos fixed

Modified: grass/trunk/imagery/i.ortho.photo/i.ortho.camera/main.c
===================================================================
--- grass/trunk/imagery/i.ortho.photo/i.ortho.camera/main.c	2012-12-28 09:14:47 UTC (rev 54433)
+++ grass/trunk/imagery/i.ortho.photo/i.ortho.camera/main.c	2012-12-28 09:17:31 UTC (rev 54434)
@@ -134,14 +134,14 @@
 	    strcpy(cam_info.cam_name, cam_name);
 	}
 
-	if (cam_id && strcmp(cam_id, cam_info,cam_id)) {
+	if (cam_id && strcmp(cam_id, cam_info.cam_id)) {
 	    G_message(_("Replacing camera cam_id '%s' with '%s'"),
 	              cam_info.cam_id, cam_id);
 	    strcpy(cam_info.cam_id, cam_id);
 	}
 	
-	if (clf_opt->answer) {
-	    cfl = atof(clf_opt->answer);
+	if (cfl_opt->answer) {
+	    cfl = atof(cfl_opt->answer);
 	    if (cfl != cam_info.CFL) {
 		G_message(_("Replacing calibrated focal length '%g' with '%g'"),
 			  cam_info.CFL, cfl);



More information about the grass-commit mailing list