mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r15720) -Change: put a bit more information into the crash log
This commit is contained in:
parent
e5204f96f9
commit
6e9dc85c76
|
@ -485,14 +485,15 @@ static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
|
||||||
output += seprintf(output, last,
|
output += seprintf(output, last,
|
||||||
"*** OpenTTD Crash Report ***\r\n"
|
"*** OpenTTD Crash Report ***\r\n"
|
||||||
"Date: %d-%.2d-%.2d %.2d:%.2d:%.2d\r\n"
|
"Date: %d-%.2d-%.2d %.2d:%.2d:%.2d\r\n"
|
||||||
"Build: %s built on " __DATE__ " " __TIME__ "\r\n",
|
"Build: %s (%d) built on " __DATE__ " " __TIME__ "\r\n",
|
||||||
time.wYear,
|
time.wYear,
|
||||||
time.wMonth,
|
time.wMonth,
|
||||||
time.wDay,
|
time.wDay,
|
||||||
time.wHour,
|
time.wHour,
|
||||||
time.wMinute,
|
time.wMinute,
|
||||||
time.wSecond,
|
time.wSecond,
|
||||||
_openttd_revision
|
_openttd_revision,
|
||||||
|
_openttd_revision_modified
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue