mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
Bugfix: inverted release and debug
This commit is contained in:
parent
055cdc87d4
commit
1b1cf5d312
|
@ -2434,9 +2434,9 @@ int main(int argc, const char **argv) // ignore_convention
|
||||||
for(int i = 1; i < argc; i++) // ignore_convention
|
for(int i = 1; i < argc; i++) // ignore_convention
|
||||||
{
|
{
|
||||||
#ifdef CONF_RELEASE
|
#ifdef CONF_RELEASE
|
||||||
if(str_comp("-s", argv[i]) == 0 || str_comp("--silent", argv[i]) == 0) // ignore_convention
|
|
||||||
#else
|
|
||||||
if(!(str_comp("-c", argv[i]) == 0 || str_comp("--console", argv[i]) == 0)) // ignore_convention
|
if(!(str_comp("-c", argv[i]) == 0 || str_comp("--console", argv[i]) == 0)) // ignore_convention
|
||||||
|
#else
|
||||||
|
if(str_comp("-s", argv[i]) == 0 || str_comp("--silent", argv[i]) == 0) // ignore_convention
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
FreeConsole();
|
FreeConsole();
|
||||||
|
|
Loading…
Reference in a new issue