Skip to content

Commit 1cbdd36

Browse files
committed
replace MACOSX constant with MACOS
1 parent 6979ece commit 1cbdd36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/src/processing/app/Platform.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ public class Platform {
4444
static Map<Integer, String> platformNames = new HashMap<>();
4545
static {
4646
platformNames.put(PConstants.WINDOWS, "windows"); //$NON-NLS-1$
47-
platformNames.put(PConstants.MACOSX, "macosx"); //$NON-NLS-1$
47+
platformNames.put(PConstants.MACOS, "macosx"); //$NON-NLS-1$
4848
platformNames.put(PConstants.LINUX, "linux"); //$NON-NLS-1$
4949
}
5050

5151
static Map<String, Integer> platformIndices = new HashMap<>();
5252
static {
5353
platformIndices.put("windows", PConstants.WINDOWS); //$NON-NLS-1$
54-
platformIndices.put("macosx", PConstants.MACOSX); //$NON-NLS-1$
54+
platformIndices.put("macosx", PConstants.MACOS); //$NON-NLS-1$
5555
platformIndices.put("linux", PConstants.LINUX); //$NON-NLS-1$
5656
}
5757

@@ -411,7 +411,7 @@ static public int unsetenv(String variable) {
411411

412412

413413
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
414-
414+
415415
static public float getSystemZoom() {
416416
return inst.getSystemZoom();
417417
}

0 commit comments

Comments
 (0)