- bugfix for crash message in windows

This commit is contained in:
Mark Vejvoda 2010-08-12 00:39:14 +00:00
parent f176cfff11
commit a8ea5d1055
1 changed files with 3 additions and 2 deletions

View File

@ -80,10 +80,11 @@ public:
program->showMessage(msg);
}
else {
message("#2 An error ocurred and Glest will close.\nError msg = [" + (msg != NULL ? string(msg) : string("?")) + "]\n\nPlease report this bug to "+mailString);
string err = "#2 An error ocurred and Glest will close.\nError msg = [" + (msg != NULL ? string(msg) : string("?")) + "]\n\nPlease report this bug to "+mailString;
#ifdef WIN32
message += ", attaching the generated "+getCrashDumpFileName()+" file.";
err += string(", attaching the generated ") + getCrashDumpFileName() + string(" file.");
#endif
message(err);
}
showCursor(true);
restoreVideoMode(true);