avoid duplication of CEXCEPTION_GET_ID

This commit is contained in:
Austin Glaser
2016-04-19 18:15:12 -06:00
parent d4eff1a2a0
commit e41354b18c
+1 -1
View File
@@ -72,7 +72,7 @@ extern volatile CEXCEPTION_FRAME_T CExceptionFrames[];
{ \
jmp_buf *PrevFrame, NewFrame; \
unsigned int MY_ID = CEXCEPTION_GET_ID; \
PrevFrame = CExceptionFrames[CEXCEPTION_GET_ID].pFrame; \
PrevFrame = CExceptionFrames[MY_ID].pFrame; \
CExceptionFrames[MY_ID].pFrame = (jmp_buf*)(&NewFrame); \
CExceptionFrames[MY_ID].Exception = CEXCEPTION_NONE; \
CEXCEPTION_HOOK_START_TRY; \