diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2011-09-16 16:56:24 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2011-09-16 16:56:24 +0200 |
commit | f3be29549e524305c0833d66b6d2465df270ff5a (patch) | |
tree | 474221a3dd841582647f504f130fe6b4a25068e8 /main/src/cgeo/geocaching/cgeowaypoint.java | |
parent | 4ce69432eac38b0ebc143d19a3ce31fe8789ab38 (diff) | |
download | cgeo-f3be29549e524305c0833d66b6d2465df270ff5a.zip cgeo-f3be29549e524305c0833d66b6d2465df270ff5a.tar.gz cgeo-f3be29549e524305c0833d66b6d2465df270ff5a.tar.bz2 |
Cache result of waypoint order computation
Diffstat (limited to 'main/src/cgeo/geocaching/cgeowaypoint.java')
-rw-r--r-- | main/src/cgeo/geocaching/cgeowaypoint.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/cgeowaypoint.java b/main/src/cgeo/geocaching/cgeowaypoint.java index e6dcb4f..1bceba7 100644 --- a/main/src/cgeo/geocaching/cgeowaypoint.java +++ b/main/src/cgeo/geocaching/cgeowaypoint.java @@ -63,8 +63,8 @@ public class cgeowaypoint extends AbstractActivity { setTitle(res.getString(R.string.waypoint_title)); } - if (waypoint.prefix.equalsIgnoreCase("OWN") == false) { - identification.setText(waypoint.prefix.trim() + "/" + waypoint.lookup.trim()); + if (waypoint.getPrefix().equalsIgnoreCase("OWN") == false) { + identification.setText(waypoint.getPrefix().trim() + "/" + waypoint.lookup.trim()); } else { identification.setText(res.getString(R.string.waypoint_custom)); } @@ -316,7 +316,7 @@ public class cgeowaypoint extends AbstractActivity { Intent navigateIntent = new Intent(this, cgeonavigate.class); navigateIntent.putExtra("latitude", waypoint.coords.getLatitude()); navigateIntent.putExtra("longitude", waypoint.coords.getLongitude()); - navigateIntent.putExtra("geocode", waypoint.prefix.trim() + "/" + waypoint.lookup.trim()); + navigateIntent.putExtra("geocode", waypoint.getPrefix().trim() + "/" + waypoint.lookup.trim()); navigateIntent.putExtra("name", waypoint.name); cgeonavigate.coordinates.clear(); |