fix exception string (no longer always INVALID_HANDLE)

This was SVN commit r899.
This commit is contained in:
janwas 2004-08-05 01:56:55 +00:00
parent 8a77473ef0
commit 9e19efa240

View File

@ -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)