Skip to content

Commit

Permalink
do not use console in silent mode. Closes #48
Browse files Browse the repository at this point in the history
  • Loading branch information
oy committed Oct 13, 2010
1 parent e4fe745 commit 8fb3952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/client/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 8fb3952

Please sign in to comment.