Skip to content

Commit aa46fdb

Browse files
Change the MacOS preference suffix to .macosx
Previously, preferences suffixed with .macos were treated specially, but the default preferences.txt used .macosx. I couldn't find when or how this was broken exactly - it seems Processing used .macosx but this code was reimplemented for Arduino in commit 33f5c53 (Implemented OS specific preferences) using .macos. The effects of this have not been tested on OSX, but this might fix some problems caused by wrong defaults on OSX.
1 parent d2505a0 commit aa46fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: app/src/processing/app/helpers/PreferencesMap.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public void load(InputStream input) throws IOException {
109109

110110
key = processPlatformSuffix(key, ".linux", Base.isLinux());
111111
key = processPlatformSuffix(key, ".windows", Base.isWindows());
112-
key = processPlatformSuffix(key, ".macos", Base.isMacOS());
112+
key = processPlatformSuffix(key, ".macosx", Base.isMacOS());
113113

114114
if (key != null)
115115
put(key, value);

0 commit comments

Comments
 (0)