From aa46fdb978606345b026f8ce373fcb6d559150d3 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 14 Apr 2014 15:29:54 +0200 Subject: [PATCH] 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. --- app/src/processing/app/helpers/PreferencesMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/processing/app/helpers/PreferencesMap.java b/app/src/processing/app/helpers/PreferencesMap.java index de6bf78b1..b4f60848a 100644 --- a/app/src/processing/app/helpers/PreferencesMap.java +++ b/app/src/processing/app/helpers/PreferencesMap.java @@ -109,7 +109,7 @@ public class PreferencesMap extends LinkedHashMap { key = processPlatformSuffix(key, ".linux", Base.isLinux()); key = processPlatformSuffix(key, ".windows", Base.isWindows()); - key = processPlatformSuffix(key, ".macos", Base.isMacOS()); + key = processPlatformSuffix(key, ".macosx", Base.isMacOS()); if (key != null) put(key, value);