Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-03-11 05:15:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-03-11 05:15:52 +0300
commit62faffc8003ed96806fbccb56b99e8c9901e3767 (patch)
tree9e8c74d4c7fa696ef201c920414ab917baff0d03 /source/creator
parent6b610500b99d8e6ac2950d7702f669b9fa1192fe (diff)
Cleanup: style
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c8
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);
}