Index: trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java	(revision 9404)
+++ trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java	(revision 9405)
@@ -439,5 +439,5 @@
         LatLon ll1 = getLatLon(width / 2 - 50, height / 2);
         LatLon ll2 = getLatLon(width / 2 + 50, height / 2);
-        if (ll1.isValid() && ll1.isValid() && b.contains(ll1) && b.contains(ll2)) {
+        if (ll1.isValid() && ll2.isValid() && b.contains(ll1) && b.contains(ll2)) {
             double d_m = ll1.greatCircleDistance(ll2);
             double d_en = 100 * scale;
