summaryrefslogtreecommitdiff
path: root/win32.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-03-14 21:31:51 +0000
committerDarkvater <darkvater@openttd.org>2006-03-14 21:31:51 +0000
commit873768c2d2bdd6bc736d30abf2c2edc9f0fe26fb (patch)
treea73dd6fd1720934fdad83366bd47162b9abeef0b /win32.c
parent91facef36aa6909e0846ec3fca777c5ad5c41084 (diff)
downloadopenttd-873768c2d2bdd6bc736d30abf2c2edc9f0fe26fb.tar.xz
(svn r3872) - [win32] Show the revision in crash.txt and enable the button to show the crash text in the crash-window
Diffstat (limited to 'win32.c')
-rw-r--r--win32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32.c b/win32.c
index 9e01aed96..f4e642efc 100644
--- a/win32.c
+++ b/win32.c
@@ -427,6 +427,7 @@ extern bool CloseConsoleLogIfActive(void);
static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
{
+ extern const char _openttd_revision[];
char *output;
static bool had_exception;
@@ -451,7 +452,7 @@ static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
time.wHour,
time.wMinute,
time.wSecond,
- "???"
+ _openttd_revision
);
}