(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:
Darkvater 2006-03-14 21:31:51 +00:00
parent 91facef36a
commit 873768c2d2
2 changed files with 3 additions and 2 deletions

View File

@ -50,7 +50,7 @@ BEGIN
PUSHBUTTON "&Close",12,7,49,50,14 PUSHBUTTON "&Close",12,7,49,50,14
PUSHBUTTON "&Submit report",14,81,49,68,14,WS_DISABLED PUSHBUTTON "&Submit report",14,81,49,68,14,WS_DISABLED
PUSHBUTTON "&Emergency save",13,155,49,68,14 PUSHBUTTON "&Emergency save",13,155,49,68,14
PUSHBUTTON "",15,243,49,55,14,WS_DISABLED PUSHBUTTON "",15,243,49,55,14
EDITTEXT 11,7,70,291,118,ES_MULTILINE | ES_READONLY | WS_VSCROLL | EDITTEXT 11,7,70,291,118,ES_MULTILINE | ES_READONLY | WS_VSCROLL |
WS_HSCROLL | NOT WS_TABSTOP WS_HSCROLL | NOT WS_TABSTOP
LTEXT "",10,36,7,262,34 LTEXT "",10,36,7,262,34

View File

@ -427,6 +427,7 @@ extern bool CloseConsoleLogIfActive(void);
static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep) static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
{ {
extern const char _openttd_revision[];
char *output; char *output;
static bool had_exception; static bool had_exception;
@ -451,7 +452,7 @@ static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
time.wHour, time.wHour,
time.wMinute, time.wMinute,
time.wSecond, time.wSecond,
"???" _openttd_revision
); );
} }