summaryrefslogtreecommitdiffstats
path: root/src/skel/win/win.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-15 14:27:35 +0100
committerwithmorten <morten.with@gmail.com>2021-02-15 14:27:35 +0100
commita76c962aa348479ddb5a4d30472183239ddb9285 (patch)
tree6e67d4b2ca834e083d89fee19909d33a1d91eb66 /src/skel/win/win.cpp
parentTry to fix streams stop after a while 2 (diff)
downloadre3-a76c962aa348479ddb5a4d30472183239ddb9285.tar
re3-a76c962aa348479ddb5a4d30472183239ddb9285.tar.gz
re3-a76c962aa348479ddb5a4d30472183239ddb9285.tar.bz2
re3-a76c962aa348479ddb5a4d30472183239ddb9285.tar.lz
re3-a76c962aa348479ddb5a4d30472183239ddb9285.tar.xz
re3-a76c962aa348479ddb5a4d30472183239ddb9285.tar.zst
re3-a76c962aa348479ddb5a4d30472183239ddb9285.zip
Diffstat (limited to 'src/skel/win/win.cpp')
-rw-r--r--src/skel/win/win.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index 89c901b2..5cbc9ba0 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -2019,7 +2019,9 @@ WinMain(HINSTANCE instance,
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
#ifndef MASTER
+#ifndef DEBUG
if (strstr(cmdLine, "-console"))
+#endif
{
AllocConsole();
freopen("CONIN$", "r", stdin);