diff options
| author | blafoo <github@blafoo.de> | 2012-01-21 22:34:35 +0100 |
|---|---|---|
| committer | blafoo <github@blafoo.de> | 2012-01-21 22:35:54 +0100 |
| commit | ae2272e15f608b8eba4c1b7564f09d5080734636 (patch) | |
| tree | 127fc78b63cfe3ed7b32171fc30171d3abdf3f6d | |
| parent | 9cc4ec4d660c237dde8107bcdd8294ab96b320be (diff) | |
| download | cgeo-ae2272e15f608b8eba4c1b7564f09d5080734636.zip cgeo-ae2272e15f608b8eba4c1b7564f09d5080734636.tar.gz cgeo-ae2272e15f608b8eba4c1b7564f09d5080734636.tar.bz2 | |
Fix for WaypointType
| -rw-r--r-- | main/src/cgeo/geocaching/enumerations/WaypointType.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/enumerations/WaypointType.java b/main/src/cgeo/geocaching/enumerations/WaypointType.java index 884eda1..d5b1333 100644 --- a/main/src/cgeo/geocaching/enumerations/WaypointType.java +++ b/main/src/cgeo/geocaching/enumerations/WaypointType.java @@ -71,7 +71,7 @@ public enum WaypointType { public void setL10n() { this.l10n = cgeoapplication.getInstance().getBaseContext().getResources().getString(this.stringId); - if (WaypointType.ALL_TYPES_EXCEPT_OWN.containsKey(this)) { + if (WaypointType.ALL_TYPES_EXCEPT_OWN != null && WaypointType.ALL_TYPES_EXCEPT_OWN.containsKey(this)) { WaypointType.ALL_TYPES_EXCEPT_OWN.put(this, this.getL10n()); } } |
