fix newline and numbering errors

This commit is contained in:
Ben Fry
2015-06-07 22:23:35 -04:00
parent 701e1c9323
commit d803eaf004
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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]);
}
}
}
+2 -2
View File
@@ -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));
}
}
}