win32: get rid of some broken cruft leftover from the last console checkin
This commit is contained in:
parent
b26e760d2c
commit
b1e92e6cb0
|
@ -73,12 +73,6 @@ void OpenConsole()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hConsole == INVALID_HANDLE_VALUE) return;
|
if (hConsole == INVALID_HANDLE_VALUE) return;
|
||||||
//redirect stdio
|
|
||||||
long lStdHandle = (long)hConsole;
|
|
||||||
int hConHandle = _open_osfhandle(lStdHandle, _O_TEXT);
|
|
||||||
if(hConHandle == -1)
|
|
||||||
return; //this fails from a visual studio command prompt
|
|
||||||
|
|
||||||
|
|
||||||
if(shouldRedirectStdout)
|
if(shouldRedirectStdout)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue