From ff3619914aa2318e8801e45f4ac807d40e042f92 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Mon, 2 May 2011 11:10:27 +0000 Subject: [PATCH] geography : typo problem. svn: r17374 --- src/plugins/lib/maps/geography.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/lib/maps/geography.py b/src/plugins/lib/maps/geography.py index c4700e36e..f1bb175ba 100644 --- a/src/plugins/lib/maps/geography.py +++ b/src/plugins/lib/maps/geography.py @@ -347,10 +347,10 @@ class GeoGraphyView(osmGpsMap, NavigationView): _LOG.debug("compare longitude : %s with %s (precision = %s)" " zoom=%d" % (float(mark[4]), lon, precision, config.get("geography.zoom"))) - if (float(mlatp) >= (float(latp) - shift) ) and + if (float(mlatp) >= (float(latp) - shift) ) and \ (float(mlatp) <= (float(latp) + shift) ): latok = True - if (float(mlonp) >= (float(lonp) - shift) ) and + if (float(mlonp) >= (float(lonp) - shift) ) and \ (float(mlonp) <= (float(lonp) + shift) ): lonok = True if latok and lonok: