diff options
author | Keith Packard <keithp@keithp.com> | 2012-01-02 15:45:14 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-01-02 15:45:14 -0800 |
commit | 9ca6eac2d6e7cff94ec521d6397d9d3aabb1bcb9 (patch) | |
tree | 9bb463a19e1636f04a88d251851eca6928a0ea96 /altosui/AltosSiteMap.java | |
parent | 085625ff3992454b59583d95a3c415597c51f754 (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 c258b3e5..3f6b33f6 100644 --- a/altosui/AltosSiteMap.java +++ b/altosui/AltosSiteMap.java @@ -249,7 +249,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)); } |