mirror of https://github.com/aria2/aria2
s/STD_INPUT_HANDLE/STD_OUTPUT_HANDLE/
parent
f66c46e5c9
commit
d83f42ef36
|
@ -41,7 +41,7 @@ namespace global {
|
|||
#ifdef __MINGW32__
|
||||
const SharedHandle<WinConsoleFile>& cout()
|
||||
{
|
||||
static SharedHandle<WinConsoleFile> f(new WinConsoleFile(STD_INPUT_HANDLE));
|
||||
static SharedHandle<WinConsoleFile> f(new WinConsoleFile(STD_OUTPUT_HANDLE));
|
||||
return f;
|
||||
}
|
||||
#else // !__MINGW32__
|
||||
|
|
Loading…
Reference in New Issue