forked from mirror/OpenTTD
(svn r3872) - [win32] Show the revision in crash.txt and enable the button to show the crash text in the crash-window
This commit is contained in:
3
win32.c
3
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
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user