aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/src/cgeo/geocaching/Waypoint.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/Waypoint.java b/main/src/cgeo/geocaching/Waypoint.java
index 7a8b787..5b1ecab 100644
--- a/main/src/cgeo/geocaching/Waypoint.java
+++ b/main/src/cgeo/geocaching/Waypoint.java
@@ -14,7 +14,7 @@ public class Waypoint implements IWaypoint, Comparable<Waypoint> {
public static final String PREFIX_OWN = "OWN";
private static final int ORDER_UNDEFINED = -2;
- private int id = 0;
+ private int id = -1;
private String geocode = "geocode";
private WaypointType waypointType = WaypointType.WAYPOINT;
private String prefix = "";
@@ -46,7 +46,7 @@ public class Waypoint implements IWaypoint, Comparable<Waypoint> {
public Waypoint(final Waypoint other) {
merge(other);
this.waypointType = other.waypointType;
- id = 0;
+ id = -1;
}
public void setIcon(final Resources res, final TextView nameView) {