diff options
author | koem <koem@petoria.de> | 2011-10-08 16:07:02 +0200 |
---|---|---|
committer | koem <koem@petoria.de> | 2011-10-08 16:07:02 +0200 |
commit | 6e950c529ab6d1df27841e88b4237180a2465b79 (patch) | |
tree | a46527355078d697536ee6a7ab79d5e708ade2d4 /main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java | |
parent | 9731ffa193c81c77ad64cb06c7574098113fd316 (diff) | |
download | cgeo-6e950c529ab6d1df27841e88b4237180a2465b79.zip cgeo-6e950c529ab6d1df27841e88b4237180a2465b79.tar.gz cgeo-6e950c529ab6d1df27841e88b4237180a2465b79.tar.bz2 |
always use WaypointType
Diffstat (limited to 'main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java')
-rw-r--r-- | main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java b/main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java index 57e67a5..bd432c0 100644 --- a/main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java +++ b/main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java @@ -1,9 +1,9 @@ package cgeo.geocaching.apps.cache.navi; import cgeo.geocaching.R; +import cgeo.geocaching.Settings; import cgeo.geocaching.cgCache; import cgeo.geocaching.cgGeo; -import cgeo.geocaching.Settings; import cgeo.geocaching.cgWaypoint; import cgeo.geocaching.enumerations.WaypointType; import cgeo.geocaching.geopoint.Geopoint; @@ -37,7 +37,7 @@ class InternalMap extends AbstractInternalMap implements if (waypoint != null) { mapIntent.putExtra("latitude", waypoint.coords.getLatitude()); mapIntent.putExtra("longitude", waypoint.coords.getLongitude()); - mapIntent.putExtra("wpttype", waypoint.type); + mapIntent.putExtra("wpttype", waypoint.typee.id); } else if (coords != null) { mapIntent.putExtra("latitude", coords.getLatitude()); mapIntent.putExtra("longitude", coords.getLongitude()); |