aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching
diff options
context:
space:
mode:
authorblafoo <github@blafoo.de>2012-03-09 18:16:17 +0100
committerblafoo <github@blafoo.de>2012-03-09 18:16:17 +0100
commitcd2bc69a176ad7f72dcd9b976af7d2630f18166c (patch)
tree0b0646a1f2c20663ba1d1a330aabcfb1a4dc2c4c /main/src/cgeo/geocaching
parent4e7e15380789672a6404d414e1b12b4915108d75 (diff)
downloadcgeo-cd2bc69a176ad7f72dcd9b976af7d2630f18166c.zip
cgeo-cd2bc69a176ad7f72dcd9b976af7d2630f18166c.tar.gz
cgeo-cd2bc69a176ad7f72dcd9b976af7d2630f18166c.tar.bz2
Wrong merge. Fixes #1227
Diffstat (limited to 'main/src/cgeo/geocaching')
-rw-r--r--main/src/cgeo/geocaching/cgCache.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgCache.java b/main/src/cgeo/geocaching/cgCache.java
index 821b9de..5fad72a 100644
--- a/main/src/cgeo/geocaching/cgCache.java
+++ b/main/src/cgeo/geocaching/cgCache.java
@@ -6,6 +6,7 @@ import cgeo.geocaching.connector.ConnectorFactory;
import cgeo.geocaching.connector.IConnector;
import cgeo.geocaching.connector.gc.GCBase;
import cgeo.geocaching.connector.gc.GCConnector;
+import cgeo.geocaching.connector.gc.Tile;
import cgeo.geocaching.enumerations.CacheSize;
import cgeo.geocaching.enumerations.CacheType;
import cgeo.geocaching.enumerations.LoadFlags.RemoveFlag;
@@ -99,7 +100,7 @@ public class cgCache implements ICache {
private String nameForSorting;
private final EnumSet<StorageLocation> storageLocation = EnumSet.of(StorageLocation.HEAP);
private boolean finalDefined = false;
- private int zoomlevel = -1;
+ private int zoomlevel = Tile.ZOOMLEVEL_MAX;
private static final Pattern NUMBER_PATTERN = Pattern.compile("\\d+");