diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2014-04-26 23:03:26 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2014-04-26 23:05:13 +0200 |
| commit | 35358ed4fe5ecd28033f6b5a6f1f723eaf2acf5a (patch) | |
| tree | c63367a958ea7222e858aae00cb916e61f0df8a4 /main/src/cgeo/geocaching | |
| parent | dc0baacfc2ae0f7e53631bbba2c70f1f70340939 (diff) | |
| download | cgeo-35358ed4fe5ecd28033f6b5a6f1f723eaf2acf5a.zip cgeo-35358ed4fe5ecd28033f6b5a6f1f723eaf2acf5a.tar.gz cgeo-35358ed4fe5ecd28033f6b5a6f1f723eaf2acf5a.tar.bz2 | |
Use the same name as GPS manufacturers for local spoilers
Garmin uses GeocachePhotos. This will ease the transfer of files.
Diffstat (limited to 'main/src/cgeo/geocaching')
| -rw-r--r-- | main/src/cgeo/geocaching/Geocache.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java index bd1d8bf..19c15fd 100644 --- a/main/src/cgeo/geocaching/Geocache.java +++ b/main/src/cgeo/geocaching/Geocache.java @@ -1734,11 +1734,11 @@ public class Geocache implements ICache, IWaypoint { return result; } - // add spoilers stored locally in /sdcard/GeocacheSpoilers + // Add spoilers stored locally in /sdcard/GeocachePhotos private void addLocalSpoilersTo(final List<Image> spoilers) { if (StringUtils.length(geocode) >= 2) { final String suffix = StringUtils.right(geocode, 2); - final File baseDir = new File(Environment.getExternalStorageDirectory().toString(), "GeocacheSpoilers"); + final File baseDir = new File(Environment.getExternalStorageDirectory().toString(), "GeocachePhotos"); final File lastCharDir = new File(baseDir, suffix.substring(1)); final File secondToLastCharDir = new File(lastCharDir, suffix.substring(0, 1)); final File finalDir = new File(secondToLastCharDir, getGeocode()); |
