v2.0.0: fixed incorrect removal of ' from one part of exception catcher

This commit is contained in:
Evan Debenham
2022-11-29 11:55:08 -05:00
parent 9a74c44844
commit 472b2785a8

View File

@@ -93,7 +93,7 @@ public class DesktopLauncher {
exceptionMsg = exceptionMsg.substring(0, 1000) + "..."; 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!", TinyFileDialogs.tinyfd_messageBox(title + " Has Crashed!",
title + " was not able to initialize its graphics display, sorry about that!\n\n" + 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" + "This usually happens when your graphics card does not support OpenGL 2.0+, or has misconfigured graphics drivers.\n\n" +