summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-15 14:28:46 +0000
committerrubidium <rubidium@openttd.org>2009-03-15 14:28:46 +0000
commit6e9dc85c764d9b81bcae95b76d7ccfee35af1656 (patch)
treeb7356cc2086c4fba450ca5ad49b558a8d77da79e /src
parente5204f96f9b9c622ff4f1bcc03a969c3e983dc4a (diff)
downloadopenttd-6e9dc85c764d9b81bcae95b76d7ccfee35af1656.tar.xz
(svn r15720) -Change: put a bit more information into the crash log
Diffstat (limited to 'src')
-rw-r--r--src/win32.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/win32.cpp b/src/win32.cpp
index 82ad87e4c..2b0857901 100644
--- a/src/win32.cpp
+++ b/src/win32.cpp
@@ -485,14 +485,15 @@ static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
output += seprintf(output, last,
"*** OpenTTD Crash Report ***\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.wMonth,
time.wDay,
time.wHour,
time.wMinute,
time.wSecond,
- _openttd_revision
+ _openttd_revision,
+ _openttd_revision_modified
);
}