From f58cede199491334cb96d0d8e25088e6ea47ea2c Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 21 Jun 2014 23:19:47 +0000 Subject: [PATCH] fix mingw debug crash reports. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4690 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/sys_win.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/engine/client/sys_win.c b/engine/client/sys_win.c index 8c6cf8a55..f4e139c46 100644 --- a/engine/client/sys_win.c +++ b/engine/client/sys_win.c @@ -808,15 +808,10 @@ DWORD CrashExceptionHandler (qboolean iswatchdog, DWORD exceptionCode, LPEXCEPTI LONG CALLBACK nonmsvc_CrashExceptionHandler(PEXCEPTION_POINTERS ExceptionInfo) { DWORD foo = EXCEPTION_CONTINUE_SEARCH; - //only bother with fatal non-continuable errors. - if (ExceptionInfo->ExceptionRecord->ExceptionFlags & EXCEPTION_NONCONTINUABLE) - { - foo = CrashExceptionHandler(false, ExceptionInfo->ExceptionRecord->ExceptionCode, ExceptionInfo); - - //we have no handler. thus we handle it by exiting. - if (foo == EXCEPTION_EXECUTE_HANDLER) - exit(1); - } + foo = CrashExceptionHandler(false, ExceptionInfo->ExceptionRecord->ExceptionCode, ExceptionInfo); + //we have no handler. thus we handle it by exiting. + if (foo == EXCEPTION_EXECUTE_HANDLER) + exit(1); return foo; }