From 1cbdd36ec7982d321f9a5b92cfb783f5db31662e Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Mon, 20 Jan 2020 14:49:05 -0500 Subject: [PATCH] replace MACOSX constant with MACOS --- app/src/processing/app/Platform.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/processing/app/Platform.java b/app/src/processing/app/Platform.java index afa36316a..fada0a110 100644 --- a/app/src/processing/app/Platform.java +++ b/app/src/processing/app/Platform.java @@ -44,14 +44,14 @@ public class Platform { static Map platformNames = new HashMap<>(); static { platformNames.put(PConstants.WINDOWS, "windows"); //$NON-NLS-1$ - platformNames.put(PConstants.MACOSX, "macosx"); //$NON-NLS-1$ + platformNames.put(PConstants.MACOS, "macosx"); //$NON-NLS-1$ platformNames.put(PConstants.LINUX, "linux"); //$NON-NLS-1$ } static Map platformIndices = new HashMap<>(); static { platformIndices.put("windows", PConstants.WINDOWS); //$NON-NLS-1$ - platformIndices.put("macosx", PConstants.MACOSX); //$NON-NLS-1$ + platformIndices.put("macosx", PConstants.MACOS); //$NON-NLS-1$ platformIndices.put("linux", PConstants.LINUX); //$NON-NLS-1$ } @@ -411,7 +411,7 @@ public class Platform { // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . - + static public float getSystemZoom() { return inst.getSystemZoom(); }