]> git.openstreetmap.org Git - rails.git/commitdiff
Fix typo.
authorTom Hughes <tom@compton.nu>
Tue, 26 Jun 2007 15:42:52 +0000 (15:42 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 26 Jun 2007 15:42:52 +0000 (15:42 +0000)
app/controllers/amf_controller.rb

index b91052266ea92d72105585848593281f9c5c7222..2bd98707a8a5e683ee53534d8599130b74f9a92d 100644 (file)
@@ -172,8 +172,8 @@ EOF
   def whichways(args)
     xmin = args[0].to_f-0.01
     ymin = args[1].to_f-0.01
-    xmax = args[2].to+f-0.01
-    ymax = args[3].to+f-0.01
+    xmax = args[2].to_f+0.01
+    ymax = args[3].to_f+0.01
 
     ActiveRecord::Base.logger.info("  Bounding Box: #{xmin},#{ymin},#{xmax},#{ymax}")