From 273bdb4c74295aab18fa5c0b9887e1fee8d84a5e Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Mon, 20 Jan 2020 07:58:09 -0500 Subject: [PATCH] clarify error message for displayDensity() --- core/src/processing/core/PApplet.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index a7584c9f2..16b4a132a 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -1039,7 +1039,8 @@ public class PApplet implements PConstants { return (int) Math.round(tx.getScaleX()); } - System.err.println("Display " + display + " does not exist, returning "); + System.err.println("Display " + display + " does not exist, " + + "returning 1 for displayDensity(" + display + ")"); return 1; // not the end of the world, so don't throw a RuntimeException }