From d8e11473f924ba4af8b4a237791c142eb52fa5cf Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 19 Jul 2023 15:22:50 -0400 Subject: [PATCH] v2.2.0: fixed an incorrect check in desktop exception handler --- .../shatteredpixeldungeon/desktop/DesktopLauncher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java b/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java index f448f2557..253b01be3 100644 --- a/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java +++ b/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java @@ -92,7 +92,7 @@ public class DesktopLauncher { exceptionMsg = exceptionMsg.substring(0, 1000) + "..."; } - if (exceptionMsg.contains("Couldnt create window")){ + if (exceptionMsg.contains("Couldn’t create window")){ TinyFileDialogs.tinyfd_messageBox(title + " Has Crashed!", title + " was not able to initialize its graphics display, sorry about that!\n\n" + "This usually happens when your graphics card does not support OpenGL 2.0+, or has misconfigured graphics drivers.\n\n" +