s/STD_INPUT_HANDLE/STD_OUTPUT_HANDLE/

pull/2/head
Tatsuhiro Tsujikawa 2011-10-05 22:52:03 +09:00
parent f66c46e5c9
commit d83f42ef36
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ namespace global {
#ifdef __MINGW32__ #ifdef __MINGW32__
const SharedHandle<WinConsoleFile>& cout() const SharedHandle<WinConsoleFile>& cout()
{ {
static SharedHandle<WinConsoleFile> f(new WinConsoleFile(STD_INPUT_HANDLE)); static SharedHandle<WinConsoleFile> f(new WinConsoleFile(STD_OUTPUT_HANDLE));
return f; return f;
} }
#else // !__MINGW32__ #else // !__MINGW32__