Skip to content

Commit 15e9b59

Browse files
committed
Try again to fix windows console
1 parent 9227e00 commit 15e9b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngscopeclient/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ int main(int argc, char* argv[])
7272
//If on Windows, and not run from a console
7373
//remove the stdout log sink that would otherwise spawn a console on startup
7474
#ifdef _WIN32
75-
if(GetConsoleWindow()) == NULL)
75+
if(GetConsoleWindow() == NULL)
7676
LogNotice("Startup: skipping stdout log sink since not run from a console (no console window)\n");
7777
else if(getenv("PROMPT") != nullptr)
7878
LogNotice("Startup: skipping stdout log sink since not run from a console (no prompt)\n");

0 commit comments

Comments
 (0)