mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
Format code & mention issue #6
This commit is contained in:
parent
d1332c9380
commit
3bd194f3a4
@ -66,7 +66,8 @@ int main(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
// Fix console output on Windows
|
// Fix console output on Windows
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (AttachConsole(ATTACH_PARENT_PROCESS)) {
|
if (AttachConsole(ATTACH_PARENT_PROCESS))
|
||||||
|
{
|
||||||
freopen("CONOUT$", "w", stdout);
|
freopen("CONOUT$", "w", stdout);
|
||||||
freopen("CONOUT$", "w", stderr);
|
freopen("CONOUT$", "w", stderr);
|
||||||
qDebug() << "";
|
qDebug() << "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user