From e41354b18c3ac5e9a6853705f5ae033d23914273 Mon Sep 17 00:00:00 2001 From: Austin Glaser Date: Tue, 19 Apr 2016 18:15:12 -0600 Subject: [PATCH] avoid duplication of CEXCEPTION_GET_ID --- lib/CException.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CException.h b/lib/CException.h index 32cb617..06ecf52 100644 --- a/lib/CException.h +++ b/lib/CException.h @@ -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; \