From d803eaf004ccc64821dcf73f845228e45df04fca Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Sun, 7 Jun 2015 22:23:35 -0400 Subject: [PATCH] fix newline and numbering errors --- core/src/processing/core/PSurfaceAWT.java | 4 ++-- core/src/processing/opengl/PSurfaceJOGL.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/processing/core/PSurfaceAWT.java b/core/src/processing/core/PSurfaceAWT.java index ff53e98c8..b37c2a591 100644 --- a/core/src/processing/core/PSurfaceAWT.java +++ b/core/src/processing/core/PSurfaceAWT.java @@ -404,9 +404,9 @@ public class PSurfaceAWT extends PSurfaceNone { displayDevice = devices[displayNum - 1]; } else { System.err.format("Display %d does not exist, " + - "using the default display instead.", displayNum); + "using the default display instead.%n", displayNum); for (int i = 0; i < devices.length; i++) { - System.err.format("Display %d is %s\n", i, devices[i]); + System.err.format("Display %d is %s%n", (i+1), devices[i]); } } } diff --git a/core/src/processing/opengl/PSurfaceJOGL.java b/core/src/processing/opengl/PSurfaceJOGL.java index 7cc239c8c..e79c6149b 100644 --- a/core/src/processing/opengl/PSurfaceJOGL.java +++ b/core/src/processing/opengl/PSurfaceJOGL.java @@ -222,9 +222,9 @@ public class PSurfaceJOGL implements PSurface { displayDevice = monitors.get(displayNum - 1); } else { System.err.format("Display %d does not exist, " + - "using the default display instead.", displayNum); + "using the default display instead.%n", displayNum); for (int i = 0; i < monitors.size(); i++) { - System.err.format("Display %d is %s\n", i+1, monitors.get(i)); + System.err.format("Display %d is %s%n", i+1, monitors.get(i)); } } }