We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9227e00 commit 15e9b59Copy full SHA for 15e9b59
src/ngscopeclient/main.cpp
@@ -72,7 +72,7 @@ int main(int argc, char* argv[])
72
//If on Windows, and not run from a console
73
//remove the stdout log sink that would otherwise spawn a console on startup
74
#ifdef _WIN32
75
- if(GetConsoleWindow()) == NULL)
+ if(GetConsoleWindow() == NULL)
76
LogNotice("Startup: skipping stdout log sink since not run from a console (no console window)\n");
77
else if(getenv("PROMPT") != nullptr)
78
LogNotice("Startup: skipping stdout log sink since not run from a console (no prompt)\n");
0 commit comments