diff options
| author | oy <Tom_Adams@web.de> | 2010-10-13 12:54:27 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-10-13 12:54:27 +0200 |
| commit | 8fb39524a9f36424c9f0ff1bf856a602ccd3dc15 (patch) | |
| tree | d409bc1e9c814f4a3d670f8e093a70257f7c976c | |
| parent | e4fe7457c8acdb479e91a79cf832c48d10898be5 (diff) | |
| download | zcatch-8fb39524a9f36424c9f0ff1bf856a602ccd3dc15.tar.gz zcatch-8fb39524a9f36424c9f0ff1bf856a602ccd3dc15.zip | |
do not use console in silent mode. Closes #48
| -rw-r--r-- | src/engine/client/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 44997ce0..c07a2478 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -2001,7 +2001,7 @@ int main(int argc, const char **argv) // ignore_convention { if(str_comp("-s", argv[i]) == 0 || str_comp("--silent", argv[i]) == 0) // ignore_convention { - ShowWindow(GetConsoleWindow(), SW_HIDE); + FreeConsole(); break; } } |