diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-03-11 05:15:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-03-11 05:15:52 +0300 |
commit | 62faffc8003ed96806fbccb56b99e8c9901e3767 (patch) | |
tree | 9e8c74d4c7fa696ef201c920414ab917baff0d03 /source/creator/creator.c | |
parent | 6b610500b99d8e6ac2950d7702f669b9fa1192fe (diff) |
Cleanup: style
Diffstat (limited to 'source/creator/creator.c')
-rw-r--r-- | source/creator/creator.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 47ee1ec4aec..0ca5fbeccac 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -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); } |