aboutsummaryrefslogtreecommitdiffstats
path: root/src/cgeo/geocaching/cgCache.java
diff options
context:
space:
mode:
authormucek4 <tomaz@gorenc.org>2011-08-10 09:44:08 +0200
committermucek4 <tomaz@gorenc.org>2011-08-10 09:44:08 +0200
commit42e4da93bc86da6bbf43fe926ede0c41034b13a9 (patch)
tree86b07afb18559f49604229417f45b811fc60c238 /src/cgeo/geocaching/cgCache.java
parentc0ec739bd929534b3043932f8ab622758a257bf9 (diff)
downloadcgeo-42e4da93bc86da6bbf43fe926ede0c41034b13a9.zip
cgeo-42e4da93bc86da6bbf43fe926ede0c41034b13a9.tar.gz
cgeo-42e4da93bc86da6bbf43fe926ede0c41034b13a9.tar.bz2
Personal note display
Diffstat (limited to 'src/cgeo/geocaching/cgCache.java')
-rw-r--r--src/cgeo/geocaching/cgCache.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cgeo/geocaching/cgCache.java b/src/cgeo/geocaching/cgCache.java
index df3eabc..eb2b42d 100644
--- a/src/cgeo/geocaching/cgCache.java
+++ b/src/cgeo/geocaching/cgCache.java
@@ -39,6 +39,7 @@ public class cgCache {
public Double longitude = null;
public boolean reliableLatLon = false;
public Double elevation = null;
+ public String personalNote = null;
public String shortdesc = "";
public String description = "";
public boolean disabled = false;
@@ -173,6 +174,9 @@ public class cgCache {
if (elevation == null) {
elevation = oldCache.elevation;
}
+ if (personalNote == null || personalNote.length() == 0) {
+ personalNote = oldCache.personalNote;
+ }
if (shortdesc == null || shortdesc.length() == 0) {
shortdesc = oldCache.shortdesc;
}