v2.0.0: actually fixed incorrect msg check in desktop crash handler

This commit is contained in:
Evan Debenham
2022-12-29 14:02:49 -05:00
parent 936c41b01c
commit d9cbac927f

View File

@@ -93,7 +93,7 @@ public class DesktopLauncher {
exceptionMsg = exceptionMsg.substring(0, 1000) + "...";
}
if (exceptionMsg.contains("Couldn't create window")){
if (exceptionMsg.contains("Couldnt 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" +