Tweaks to crash report dialog (#4789)

* Use error icon in crash report dialog

Found this change when going through old folders, looks like it never made it in.

* Update crash error message

Improve grammar; avoid reports for one-off errors; link to proper subforum (id 17 is STK General)
This commit is contained in:
QwertyChouskie 2022-08-05 03:08:20 -07:00 committed by GitHub
parent 118fc7fa96
commit 4f32435ef2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,13 +101,14 @@
getCallStack(callstack);
std::string msg = "SuperTuxKart crashed!\n"
"Please hit Ctrl+C to copy to clipboard and signal the problem\n"
"to the developers on our forum: http://forum.freegamedev.net/viewforum.php?f=16\n"
"If you continue to encounter this issue, please hit Ctrl+C to copy this error\n"
"to the clipboard and report the problem to the developers on our forum:\n"
"http://forum.freegamedev.net/viewforum.php?f=17\n"
"\n"
"Call stack:\n";
msg += callstack;
Log::error("StackTrace", "%s", msg.c_str());
MessageBoxA(NULL, msg.c_str(), "SuperTuxKart crashed :/", MB_OK);
MessageBoxA(NULL, msg.c_str(), "SuperTuxKart crashed!", MB_ICONERROR | MB_OK);
} // winCrashHandler
// --------------------------------------------------------------------