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
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-04-08 18:04:59 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-04-08 18:04:59 +0400
commit20dea8c1088e917b6f694e10afb90290fb4455df (patch)
treea89e42deecafc0c417b4d96c1631b3a076e620a0 /source
parent70cd0803ab1552e3ec625070a8753349ec704e78 (diff)
Fix for compilation under non-windows platforms -- missed check for
platform before WM_console_toggle call
Diffstat (limited to 'source')
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c
index 38e66bc9f06..58485b1f544 100644
--- a/source/blender/windowmanager/intern/wm_init_exit.c
+++ b/source/blender/windowmanager/intern/wm_init_exit.c
@@ -357,7 +357,9 @@ void WM_exit(bContext *C)
sound_exit();
+#ifdef WIN32
WM_console_toggle(C, 1); /* never leave behind invisible consoles */
+#endif
/* first wrap up running stuff, we assume only the active WM is running */
/* modal handlers are on window level freed, others too? */