(svn r15720) -Change: put a bit more information into the crash log

This commit is contained in:
rubidium 2009-03-15 14:28:46 +00:00
parent e5204f96f9
commit 6e9dc85c76
1 changed files with 3 additions and 2 deletions

View File

@ -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
); );
} }