From 50e6eb83cd260f38260e9912388035f71b1547ce Mon Sep 17 00:00:00 2001 From: Pavol Zibrita Date: Mon, 25 Jul 2011 10:57:18 +0200 Subject: [PATCH] Round the ruler from 1 (not 5) --- OsmAnd/src/net/osmand/OsmAndFormatter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/OsmAndFormatter.java b/OsmAnd/src/net/osmand/OsmAndFormatter.java index 7bdbe4dcb7..360352429b 100644 --- a/OsmAnd/src/net/osmand/OsmAndFormatter.java +++ b/OsmAnd/src/net/osmand/OsmAndFormatter.java @@ -29,8 +29,8 @@ public class OsmAndFormatter { } // 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000 ... - int generator = 5; - byte pointer = 0; + int generator = 1; + byte pointer = 1; double point = mainUnitInMeter; while(distInMeters * point > generator){ if (pointer++ % 3 == 2) {