Commit b3f63732 authored by Marti's avatar Marti

Always open a console in debug builds if no parent console is present

parent c37a16f0
......@@ -131,6 +131,14 @@
else
{
//create and attach a new console if needed
#ifdef _DEBUG
//always open a console in debug mode
AllocConsole();
freopen("CONIN$", "r", stdin);
freopen("CONOUT$", "w", stdout);
freopen("CONOUT$", "w", stderr);
return;
#endif
if (OpenFlipper::Options::logToConsole())
{
AllocConsole();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment