summaryrefslogtreecommitdiff
path: root/win32.c
diff options
context:
space:
mode:
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
);
}