aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/StaticMapsProvider.java
diff options
context:
space:
mode:
authorblafoo <github@blafoo.de>2011-11-18 17:50:16 +0100
committerblafoo <github@blafoo.de>2011-11-18 20:21:28 +0100
commit4226ec4247f122a875539c55fcb147a81bce5780 (patch)
treecaa0fab902e3ef981a32697f4fdfa721fcc4dd95 /main/src/cgeo/geocaching/StaticMapsProvider.java
parente4fb6c596ba35e3ed6c7d2341ffb5e006417ec4e (diff)
downloadcgeo-4226ec4247f122a875539c55fcb147a81bce5780.zip
cgeo-4226ec4247f122a875539c55fcb147a81bce5780.tar.gz
cgeo-4226ec4247f122a875539c55fcb147a81bce5780.tar.bz2
Use of CacheType instead of String
Diffstat (limited to 'main/src/cgeo/geocaching/StaticMapsProvider.java')
-rw-r--r--main/src/cgeo/geocaching/StaticMapsProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/StaticMapsProvider.java b/main/src/cgeo/geocaching/StaticMapsProvider.java
index 7f4587d..9834681 100644
--- a/main/src/cgeo/geocaching/StaticMapsProvider.java
+++ b/main/src/cgeo/geocaching/StaticMapsProvider.java
@@ -102,7 +102,7 @@ public class StaticMapsProvider {
}
private static String getMarkerUrl(final cgCache cache) {
- String type = cache.getCacheType().id;
+ String type = cache.getType().id;
if (cache.isFound()) {
type += "_found";
} else if (cache.isDisabled()) {