[PSEH3]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 22 Dec 2012 10:51:30 +0000 (10:51 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 22 Dec 2012 10:51:30 +0000 (10:51 +0000)
Fix a typo, add a comment

svn path=/trunk/; revision=57967

reactos/lib/pseh/i386/pseh3.c

index d748594..13e5df1 100644 (file)
@@ -95,6 +95,7 @@ _SEH3$_GetFilterResult(
     PVOID Filter = Record->ScopeTable->Filter;
     LONG Result;
 
+    /* Check for __finally frames */
     if (Record->ScopeTable->Target == NULL)
     {
         return EXCEPTION_CONTINUE_SEARCH;
@@ -189,7 +190,7 @@ _SEH3$_except_handler(
     asm volatile ("cld\n" : : : "memory");
 
     /* Check if this is an unwind */
-    if (ExceptionRecord->ExceptionFlags & EXCEPTION_UNWIND)
+    if (ExceptionRecord->ExceptionFlags & EXCEPTION_UNWINDING)
     {
         /* Unwind all local frames */
         TargetFrame = EstablisherFrame->Next;