mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix newline and numbering errors
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user