mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
fixed some line endings
This commit is contained in:
parent
4c437b8a25
commit
9092782254
|
@ -2435,20 +2435,20 @@ int main(int argc, const char **argv) // ignore_convention
|
|||
// parse the command line arguments
|
||||
if(argc > 1) // ignore_convention
|
||||
{
|
||||
switch(argc) // ignore_convention
|
||||
{
|
||||
switch(argc) // ignore_convention
|
||||
{
|
||||
case 2:
|
||||
{
|
||||
// handle Teeworlds connect link
|
||||
const int Length = str_length(pClient->m_pConLinkIdentifier);
|
||||
if(str_comp_num(pClient->m_pConLinkIdentifier, argv[1], Length) == 0) // ignore_convention
|
||||
{
|
||||
pClient->HandleTeeworldsConnectLink(argv[1] + Length); // ignore_convention
|
||||
break;
|
||||
}
|
||||
}
|
||||
{
|
||||
pClient->HandleTeeworldsConnectLink(argv[1] + Length); // ignore_convention
|
||||
break;
|
||||
}
|
||||
}
|
||||
default:
|
||||
pConsole->ParseArguments(argc - 1, &argv[1]); // ignore_convention
|
||||
pConsole->ParseArguments(argc - 1, &argv[1]); // ignore_convention
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue