aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgCache.java
diff options
context:
space:
mode:
authorblafoo <github@blafoo.de>2012-03-18 23:57:34 +0100
committerblafoo <github@blafoo.de>2012-03-18 23:57:34 +0100
commite666a0aeccb85ff6782c22686f48a9186a4634a9 (patch)
tree0a1ae96f8bd9b2b01f892c938bf0c689746ec47d /main/src/cgeo/geocaching/cgCache.java
parent762d3dfbd8059b10393a791a2e6990827c3634df (diff)
downloadcgeo-e666a0aeccb85ff6782c22686f48a9186a4634a9.zip
cgeo-e666a0aeccb85ff6782c22686f48a9186a4634a9.tar.gz
cgeo-e666a0aeccb85ff6782c22686f48a9186a4634a9.tar.bz2
Unit test for #1268
Diffstat (limited to 'main/src/cgeo/geocaching/cgCache.java')
-rw-r--r--main/src/cgeo/geocaching/cgCache.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgCache.java b/main/src/cgeo/geocaching/cgCache.java
index 155d150..62f114f 100644
--- a/main/src/cgeo/geocaching/cgCache.java
+++ b/main/src/cgeo/geocaching/cgCache.java
@@ -219,6 +219,7 @@ public class cgCache implements ICache {
coords = other.coords;
}
if (zoomlevel < other.zoomlevel) {
+ zoomlevel = other.zoomlevel;
coords = other.coords;
}