diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2012-03-04 07:28:42 +0100 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2012-03-04 07:28:42 +0100 |
commit | 00e4f99229d03d7db5ffd753e9e704e19abea3fa (patch) | |
tree | 584a05ec82c24ef86fcb0477b254c57aa28096d2 /main/src/cgeo/geocaching/maps/ScaleOverlay.java | |
parent | 32b4ba8e94c7aab44dab614b16cb203809d2a2a5 (diff) | |
download | cgeo-00e4f99229d03d7db5ffd753e9e704e19abea3fa.zip cgeo-00e4f99229d03d7db5ffd753e9e704e19abea3fa.tar.gz cgeo-00e4f99229d03d7db5ffd753e9e704e19abea3fa.tar.bz2 |
refactoring: move constants and classes to the packages they belong to
Diffstat (limited to 'main/src/cgeo/geocaching/maps/ScaleOverlay.java')
-rw-r--r-- | main/src/cgeo/geocaching/maps/ScaleOverlay.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/maps/ScaleOverlay.java b/main/src/cgeo/geocaching/maps/ScaleOverlay.java index 9152cae..f43ba25 100644 --- a/main/src/cgeo/geocaching/maps/ScaleOverlay.java +++ b/main/src/cgeo/geocaching/maps/ScaleOverlay.java @@ -86,7 +86,7 @@ public class ScaleOverlay implements GeneralOverlay { units = "m"; } } else { - distance /= IConversion.miles2km; + distance /= IConversion.MILES_TO_KILOMETER; if (distance > 100) { // 100+ mi > 1xx mi distanceRound = Math.floor(distance / 100) * 100; |