diff options
author | koem <koem@petoria.de> | 2011-10-10 17:25:56 +0200 |
---|---|---|
committer | koem <koem@petoria.de> | 2011-10-11 08:57:59 +0200 |
commit | 2e6caaa61eff54f717da0810f9ab748a7f6dffbe (patch) | |
tree | 3b6fdbbddef677fba1fbb4c95c739d330134653c /main/src/cgeo/geocaching/apps/cache/navi | |
parent | bfa29b4962bee99f7b16b6900e424915fa2201e2 (diff) | |
download | cgeo-2e6caaa61eff54f717da0810f9ab748a7f6dffbe.zip cgeo-2e6caaa61eff54f717da0810f9ab748a7f6dffbe.tar.gz cgeo-2e6caaa61eff54f717da0810f9ab748a7f6dffbe.tar.bz2 |
use WaypointType
Diffstat (limited to 'main/src/cgeo/geocaching/apps/cache/navi')
-rw-r--r-- | main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java b/main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java index bd432c0..bccf739 100644 --- a/main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java +++ b/main/src/cgeo/geocaching/apps/cache/navi/InternalMap.java @@ -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.typee.id); + mapIntent.putExtra("wpttype", waypoint.type != null ? waypoint.type.id : null); } else if (coords != null) { mapIntent.putExtra("latitude", coords.getLatitude()); mapIntent.putExtra("longitude", coords.getLongitude()); |