aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2013-04-07 11:20:40 +0200
committerSamuel Tardieu <sam@rfc1149.net>2013-04-07 11:20:40 +0200
commitcf96eaa539517f6c94a78396170b45a9c5187a61 (patch)
tree5811bdca62a46c9c55358f0db6d0555e143f1f4d /main/src
parent6064ea90e1c1dc5158d023ddb3126de3f41b6422 (diff)
parentc791e236c88c98590635719ca84f8067db0eec77 (diff)
downloadcgeo-cf96eaa539517f6c94a78396170b45a9c5187a61.zip
cgeo-cf96eaa539517f6c94a78396170b45a9c5187a61.tar.gz
cgeo-cf96eaa539517f6c94a78396170b45a9c5187a61.tar.bz2
Merge branch 'release' into upstream
Diffstat (limited to 'main/src')
-rw-r--r--main/src/cgeo/geocaching/Geocache.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java
index 4aa74e7..000435e 100644
--- a/main/src/cgeo/geocaching/Geocache.java
+++ b/main/src/cgeo/geocaching/Geocache.java
@@ -1418,7 +1418,7 @@ public class Geocache implements ICache, IWaypoint {
private boolean hasIdenticalWaypoint(final Geopoint point) {
for (final Waypoint waypoint: waypoints) {
- if (waypoint.getCoords() == point) {
+ if (waypoint.getCoords().equals(point)) {
return true;
}
}