From 2fc622041f9dc817cfc35a80ad539b1c4587652e Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sat, 8 Feb 2003 00:52:47 +0000 Subject: [PATCH] Leave console window in debug build (for stdout/stderr debug output). --- src/uifc/uifcfltk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uifc/uifcfltk.cpp b/src/uifc/uifcfltk.cpp index d350dbc945..af7a3adc07 100644 --- a/src/uifc/uifcfltk.cpp +++ b/src/uifc/uifcfltk.cpp @@ -797,7 +797,7 @@ int uifcinifltk(uifcapi_t* uifcapi) CurrWin=0; MainWin=NULL; -#if defined(_WIN32) +#if defined(_WIN32) && !defined(_DEBUG) FreeConsole(); // close popup console window #endif return(0); @@ -809,7 +809,7 @@ int uifcinifltk(uifcapi_t* uifcapi) void uifcbail(void) { int i; - + for(i=CurrWin;i>=0;i--) { delwin(i); } -- GitLab