v0.7.5e: improved the wording/styling of the desktop error dialog

This commit is contained in:
Evan Debenham 2019-10-23 14:50:14 -04:00
parent f76730b5ad
commit 7181b5b677

View File

@ -42,9 +42,9 @@ public class DesktopLauncher {
PrintWriter pw = new PrintWriter(sw); PrintWriter pw = new PrintWriter(sw);
throwable.printStackTrace(pw); throwable.printStackTrace(pw);
pw.flush(); pw.flush();
JOptionPane.showMessageDialog(null, "Shattered Pixel Dungeon has crashed! Sorry about that!\n\n" + JOptionPane.showMessageDialog(null, "Shattered Pixel Dungeon has crashed, sorry about that!\n\n" +
"If you could, please email this error message to me and I'll get it fixed (Evan@ShatteredPixel.com):\n\n" + "If you could, please email this error message to me and I'll get it fixed (Evan@ShatteredPixel.com):\n\n" +
sw.toString()); sw.toString(), "Game Crash!", JOptionPane.ERROR_MESSAGE);
Gdx.app.exit(); Gdx.app.exit();
} }
}); });