From 472b2785a82ac2dceb47ba8852e0f795f2e4c0c2 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 29 Nov 2022 11:55:08 -0500 Subject: [PATCH] v2.0.0: fixed incorrect removal of ' from one part of exception catcher --- .../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 d4d20997a..6b23cfe72 100644 --- a/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java +++ b/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java @@ -93,7 +93,7 @@ public class DesktopLauncher { exceptionMsg = exceptionMsg.substring(0, 1000) + "..."; } - if (exceptionMsg.contains("Could not 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" +