From c98b24cf29a8cd98201ac7bd00b457d8842c0f2d Mon Sep 17 00:00:00 2001 From: w12x Date: Thu, 23 Oct 2008 05:57:15 -0500 Subject: [svn] Restore automatic crashlog generation on Windows. Make sure to have a Crashes folder in the working directory of the executables. --HG-- branch : trunk --- src/shared/WheatyExceptionReport.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/shared/WheatyExceptionReport.cpp') diff --git a/src/shared/WheatyExceptionReport.cpp b/src/shared/WheatyExceptionReport.cpp index 41d2a5e2727..6a4276cca0f 100644 --- a/src/shared/WheatyExceptionReport.cpp +++ b/src/shared/WheatyExceptionReport.cpp @@ -14,8 +14,7 @@ #define _NO_CVCONST_H #include #include "WheatyExceptionReport.h" -#include "svn_revision.h" -#define CrashFolder _T("Crashs") +#define CrashFolder _T("Crashes") //#pragma comment(linker, "/defaultlib:dbghelp.lib") inline LPTSTR ErrorMessage(DWORD dw) @@ -386,7 +385,6 @@ PEXCEPTION_POINTERS pExceptionInfo ) GetLocalTime(&systime); // Start out with a banner - _tprintf(_T("Revision: %s\r\n"), SVN_REVISION); _tprintf(_T("Date %u:%u:%u. Time %u:%u \r\n"), systime.wDay, systime.wMonth, systime.wYear, systime.wHour, systime.wMinute); PEXCEPTION_RECORD pExceptionRecord = pExceptionInfo->ExceptionRecord; -- cgit v1.2.3