summaryrefslogtreecommitdiff
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
commit1e905be4754013e8b5002f7e9217bc5a1afe9387 (patch)
treeb7356cc2086c4fba450ca5ad49b558a8d77da79e
parentaf5c6f7996fb157407e49a87ce887615750f7e2f (diff)
downloadopenttd-1e905be4754013e8b5002f7e9217bc5a1afe9387.tar.xz
(svn r15720) -Change: put a bit more information into the crash log
-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
);
}