summaryrefslogtreecommitdiffstats
path: root/src/skel/win/win.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-15 14:24:07 +0100
committerwithmorten <morten.with@gmail.com>2021-02-15 14:24:07 +0100
commita826091dc920bc521a948f74e75ebd63ab78e976 (patch)
treec358cadb9f9147a9a84403b3b90f06ec8192a383 /src/skel/win/win.cpp
parentreadme update (diff)
downloadre3-a826091dc920bc521a948f74e75ebd63ab78e976.tar
re3-a826091dc920bc521a948f74e75ebd63ab78e976.tar.gz
re3-a826091dc920bc521a948f74e75ebd63ab78e976.tar.bz2
re3-a826091dc920bc521a948f74e75ebd63ab78e976.tar.lz
re3-a826091dc920bc521a948f74e75ebd63ab78e976.tar.xz
re3-a826091dc920bc521a948f74e75ebd63ab78e976.tar.zst
re3-a826091dc920bc521a948f74e75ebd63ab78e976.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 86b0b214..041cc6c1 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -2021,7 +2021,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);