fix exception string (no longer always INVALID_HANDLE)
This was SVN commit r899.
This commit is contained in:
parent
8a77473ef0
commit
9e19efa240
@ -587,8 +587,8 @@ static long CALLBACK except_filter(EXCEPTION_POINTERS* except)
|
||||
uintptr_t addr = (uintptr_t)except_record->ExceptionAddress;
|
||||
|
||||
DWORD code = except_record->ExceptionCode;
|
||||
char* except_str = 0;
|
||||
#define X(e) case EXCEPTION_##e: except_str = #e;
|
||||
char* except_str = "(unknown)";
|
||||
#define X(e) case EXCEPTION_##e: except_str = #e; break;
|
||||
switch(code)
|
||||
{
|
||||
X(ACCESS_VIOLATION)
|
||||
|
Loading…
Reference in New Issue
Block a user