diff options
author | Darkvater <darkvater@openttd.org> | 2006-03-14 21:31:51 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-03-14 21:31:51 +0000 |
commit | 873768c2d2bdd6bc736d30abf2c2edc9f0fe26fb (patch) | |
tree | a73dd6fd1720934fdad83366bd47162b9abeef0b /win32.c | |
parent | 91facef36aa6909e0846ec3fca777c5ad5c41084 (diff) | |
download | openttd-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 ); } |