Change the __except to use the exception result codes
(cherry picked from commit be21c689e8
)
This commit is contained in:
parent
edddf8a660
commit
85c324b5d7
|
@ -73,7 +73,8 @@ static void bootstrapFc()
|
|||
g_fcInitSuccess = true;
|
||||
#if defined( _MSC_VER )
|
||||
}
|
||||
__except( GetExceptionCode() == STATUS_IN_PAGE_ERROR )
|
||||
__except( GetExceptionCode() == STATUS_IN_PAGE_ERROR ? EXCEPTION_EXECUTE_HANDLER
|
||||
: EXCEPTION_CONTINUE_SEARCH )
|
||||
{
|
||||
g_fcInitSuccess = false;
|
||||
// We have documented cases that fontconfig while trying to cache fonts
|
||||
|
|
Loading…
Reference in New Issue