diff options
author | rsudev <rasch@munin-soft.de> | 2012-11-28 22:24:33 +0100 |
---|---|---|
committer | rsudev <rasch@munin-soft.de> | 2012-11-28 22:24:33 +0100 |
commit | 7076e85b2042f21ee1a4b4fe2607e7bd28d2717b (patch) | |
tree | 15b336209e555bbaf2250724142650a29e38ae10 /main | |
parent | d16aab94d82b6241e6b2d5749d49fc1ef1e53283 (diff) | |
parent | ea36181c925ed983506d8ea546d7435b8c5bc220 (diff) | |
download | cgeo-7076e85b2042f21ee1a4b4fe2607e7bd28d2717b.zip cgeo-7076e85b2042f21ee1a4b4fe2607e7bd28d2717b.tar.gz cgeo-7076e85b2042f21ee1a4b4fe2607e7bd28d2717b.tar.bz2 |
Merge remote-tracking branch 'upstream/release' into issue2196m
Diffstat (limited to 'main')
-rw-r--r-- | main/src/cgeo/geocaching/connector/gc/GCParser.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/GCParser.java b/main/src/cgeo/geocaching/connector/gc/GCParser.java index 583e144..10f9d00 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCParser.java +++ b/main/src/cgeo/geocaching/connector/gc/GCParser.java @@ -611,6 +611,9 @@ public abstract class GCParser { Log.w("GCParser.parseCache: Failed to parse cache log count"); } + // waypoints - reset collection + cache.setWaypoints(Collections.<cgWaypoint> emptyList(), false); + // add waypoint for original coordinates in case of user-modified listing-coordinates try { final String originalCoords = BaseUtils.getMatch(page, GCConstants.PATTERN_LATLON_ORIG, false, null); @@ -624,8 +627,6 @@ public abstract class GCParser { } catch (Geopoint.GeopointException e) { } - // waypoints - cache.setWaypoints(Collections.<cgWaypoint> emptyList(), false); int wpBegin; int wpEnd; |