Cleanup: style

This commit is contained in:
2015-03-11 13:15:52 +11:00
parent 6b610500b9
commit 62faffc800
5 changed files with 8 additions and 11 deletions

View File

@@ -598,10 +598,9 @@ static void blender_crash_handler(int signum)
}
#ifdef WIN32
LONG WINAPI windows_exception_handler(EXCEPTION_POINTERS * ExceptionInfo)
LONG WINAPI windows_exception_handler(EXCEPTION_POINTERS *ExceptionInfo)
{
switch(ExceptionInfo->ExceptionRecord->ExceptionCode)
{
switch (ExceptionInfo->ExceptionRecord->ExceptionCode) {
case EXCEPTION_ACCESS_VIOLATION:
fputs("Error: EXCEPTION_ACCESS_VIOLATION\n", stderr);
break;
@@ -671,8 +670,7 @@ LONG WINAPI windows_exception_handler(EXCEPTION_POINTERS * ExceptionInfo)
/* If this is a stack overflow then we can't walk the stack, so just show
* where the error happened */
if (EXCEPTION_STACK_OVERFLOW != ExceptionInfo->ExceptionRecord->ExceptionCode)
{
if (EXCEPTION_STACK_OVERFLOW != ExceptionInfo->ExceptionRecord->ExceptionCode) {
blender_crash_handler(SIGSEGV);
}