v2.2.0: fixed an incorrect check in desktop exception handler

This commit is contained in:
Evan Debenham
2023-07-19 15:22:50 -04:00
parent 8abc3699d5
commit d8e11473f9

View File

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