v1.4.0: increased the max length for desktop error popups

This commit is contained in:
Evan Debenham
2022-09-30 15:40:53 -04:00
parent 1237e38cde
commit 3430bb6a69

View File

@@ -89,11 +89,11 @@ public class DesktopLauncher {
exceptionMsg = exceptionMsg.replace("\t", " ");
exceptionMsg = exceptionMsg.replace("'", "");
if (exceptionMsg.length() > 500){
exceptionMsg = exceptionMsg.substring(0, 500) + "...";
if (exceptionMsg.length() > 1000){
exceptionMsg = exceptionMsg.substring(0, 1000) + "...";
}
if (exceptionMsg.contains("Couldnt create window")){
if (exceptionMsg.contains("Could not 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" +