diff options
author | rsudev <rasch@munin-soft.de> | 2011-10-30 12:00:47 +0100 |
---|---|---|
committer | rsudev <rasch@munin-soft.de> | 2011-10-30 12:30:21 +0100 |
commit | 6a0e1a03b989938c75ac0e21fd1c1631b26b3b75 (patch) | |
tree | 9b5abf690fe5f087d8dd23b5cd5199c9f2c96748 | |
parent | edc7eb18b9a2feb88f7eb9f5f54f398af04c07d2 (diff) | |
download | cgeo-6a0e1a03b989938c75ac0e21fd1c1631b26b3b75.zip cgeo-6a0e1a03b989938c75ac0e21fd1c1631b26b3b75.tar.gz cgeo-6a0e1a03b989938c75ac0e21fd1c1631b26b3b75.tar.bz2 |
Fixes #726, Save for offline not possible on live map
- corrected logic error introduced in
d558334501d1ed9d1becc6be55058d4ded793bb7
-rw-r--r-- | main/src/cgeo/geocaching/maps/CGeoMap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/maps/CGeoMap.java b/main/src/cgeo/geocaching/maps/CGeoMap.java index 6f85027..840d7c9 100644 --- a/main/src/cgeo/geocaching/maps/CGeoMap.java +++ b/main/src/cgeo/geocaching/maps/CGeoMap.java @@ -602,7 +602,7 @@ public class CGeoMap extends AbstractMap implements OnDragListener, ViewFactory for (cgCache oneCache : cachesProtected) { if (oneCache != null && oneCache.coords != null) { - if (!cgBase.isCacheInViewPort(mapCenterLat, mapCenterLon, mapSpanLat, mapSpanLon, oneCache.coords) && app.isOffline(oneCache.geocode, null)) { + if (cgBase.isCacheInViewPort(mapCenterLat, mapCenterLon, mapSpanLat, mapSpanLon, oneCache.coords) && !app.isOffline(oneCache.geocode, null)) { geocodes.add(oneCache.geocode); } } |