aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
Diffstat (limited to 'main/src')
-rw-r--r--main/src/cgeo/geocaching/geopoint/Geopoint.java2
-rw-r--r--main/src/cgeo/geocaching/geopoint/GeopointFormatter.java2
2 files changed, 2 insertions, 2 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) {
diff --git a/main/src/cgeo/geocaching/geopoint/GeopointFormatter.java b/main/src/cgeo/geocaching/geopoint/GeopointFormatter.java
index 0b3df05..c706e77 100644
--- a/main/src/cgeo/geocaching/geopoint/GeopointFormatter.java
+++ b/main/src/cgeo/geocaching/geopoint/GeopointFormatter.java
@@ -23,7 +23,7 @@ public class GeopointFormatter
/** Example: "N 10° 12.345 W 5° 12.345" */
LAT_LON_DECMINUTE_RAW,
- /** Example: "N 10° 12' 34" W 5° 12' 34"" */
+ /** Example: "N 10° 12' 34" W 5° 12' 34" */
LAT_LON_DECSECOND,
/** Example: "-0.123456" (unlocalized latitude) */