Clean up C code a bit

release
Doug Coleman 2007-11-24 18:17:25 -06:00
parent 23dd744736
commit 096b9fe4b7
1 changed files with 5 additions and 5 deletions

View File

@ -93,12 +93,12 @@ void open_console(void)
{
/*
// Do this: http://www.cygwin.com/ml/cygwin/2007-11/msg00432.html
if(!console_open)
if(console_open)
return;
if(AttachConsole(ATTACH_PARENT_PROCESS) || AllocConsole())
{
if(AttachConsole(ATTACH_PARENT_PROCESS) || AllocConsole())
{
console_open = true;
}
console_open = true;
}
*/
}