Fix for compilation under non-windows platforms -- missed check for

platform before WM_console_toggle call
This commit is contained in:
Sergey Sharybin 2011-04-08 14:04:59 +00:00
parent 70cd0803ab
commit 20dea8c108

@ -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? */