Changeset 12856 in josm for trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java
- Timestamp:
- 2017-09-14T15:09:01+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookWindows.java
r12855 r12856 477 477 public File getDefaultUserDataDirectory() { 478 478 // Use preferences directory by default 479 return Config.getDirs().getPreferencesDirectory( );479 return Config.getDirs().getPreferencesDirectory(false); 480 480 } 481 481 … … 522 522 props.load(fis); 523 523 byte[] content = Files.readAllBytes(templateFile); 524 File cachePath = Config.getDirs().getCacheDirectory( );524 File cachePath = Config.getDirs().getCacheDirectory(true); 525 525 Path fontconfigFile = cachePath.toPath().resolve("fontconfig.properties"); 526 526 OutputStream os = Files.newOutputStream(fontconfigFile);
Note:
See TracChangeset
for help on using the changeset viewer.