Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sthalik committed Dec 8, 2018
1 parent 44e60b7 commit 56d79bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/debug/win32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bool attachParentConsole()
if (AttachConsole(ATTACH_PARENT_PROCESS))
{
// start with consistent state
fflush(stdin);
fflush(stdout);
fflush(stderr);
std::cout.flush();
std::cerr.flush();
Expand All @@ -34,7 +34,7 @@ bool attachParentConsole()
_wfreopen(L"CON", L"r", stdin);
freopen("CON", "w", stdout);
freopen("CON", "w", stderr);
freopen("CON", "w", stderr);
freopen("CON", "r", stdin);

// it can be verified that input/output works as expected.
#if 0
Expand Down

0 comments on commit 56d79bd

Please sign in to comment.