aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/geopoint/Geopoint.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/geopoint/Geopoint.java')
-rw-r--r--main/src/cgeo/geocaching/geopoint/Geopoint.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/geopoint/Geopoint.java b/main/src/cgeo/geocaching/geopoint/Geopoint.java
index 612b6ad..7d585ac 100644
--- a/main/src/cgeo/geocaching/geopoint/Geopoint.java
+++ b/main/src/cgeo/geocaching/geopoint/Geopoint.java
@@ -583,7 +583,7 @@ public final class Geopoint implements ICoordinates, Parcelable {
}
private static double getSecRaw(final double deg) {
- return (Math.abs(deg) * 3600) % 3600;
+ return (Math.abs(deg) * 3600) % 60;
}
private static String addZeros(final int value, final int len) {