From cd2bc69a176ad7f72dcd9b976af7d2630f18166c Mon Sep 17 00:00:00 2001 From: blafoo Date: Fri, 9 Mar 2012 18:16:17 +0100 Subject: Wrong merge. Fixes #1227 --- main/src/cgeo/geocaching/cgCache.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main/src/cgeo/geocaching/cgCache.java') 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 = 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+"); -- cgit v1.1