7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-11 09:40:09 +00:00

Change the __except to use the exception result codes

This commit is contained in:
Marek Roszko 2024-01-05 21:03:43 -05:00
parent 05cbfc6aca
commit be21c689e8

View File

@ -74,7 +74,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