diff options
author | Keith Packard <keithp@keithp.com> | 2012-01-02 15:45:14 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-06-02 19:09:09 -0700 |
commit | 97663f922e236f4ee7bd08277ca80d419b5cd10f (patch) | |
tree | 338e6fd4125c6312dccb7d203877551db6d63090 /altosui/AltosSiteMap.java | |
parent | c9e52287751867d9e451146ccde78109609d30d7 (diff) |
altosui: Split out UI-specific preferences
Prepare to create library shared with android application.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosSiteMap.java')
-rw-r--r-- | altosui/AltosSiteMap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosSiteMap.java b/altosui/AltosSiteMap.java index 63995c40..93c54d02 100644 --- a/altosui/AltosSiteMap.java +++ b/altosui/AltosSiteMap.java @@ -250,7 +250,7 @@ public class AltosSiteMap extends JScrollPane implements AltosFlightDisplay { char chlng = lng < 0 ? 'W' : 'E'; if (lat < 0) lat = -lat; if (lng < 0) lng = -lng; - return new File(AltosPreferences.mapdir(), + return new File(AltosUIPreferences.mapdir(), String.format("map-%c%.6f,%c%.6f-%d.png", chlat, lat, chlng, lng, zoom)); } |