From 6dc5194895b6bd61d19bf5c95021471784084325 Mon Sep 17 00:00:00 2001 From: untodesu Date: Tue, 1 Jul 2025 03:23:05 +0500 Subject: I forgot to set these to true in .clang-format https://files.catbox.moe/909rig.gif --- game/client/gui/direct_connection.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'game/client/gui/direct_connection.cc') diff --git a/game/client/gui/direct_connection.cc b/game/client/gui/direct_connection.cc index 8a09e48..0290bd3 100644 --- a/game/client/gui/direct_connection.cc +++ b/game/client/gui/direct_connection.cc @@ -55,13 +55,15 @@ static void connect_to_server(void) if(!parts[0].empty()) { parsed_hostname = parts[0]; - } else { + } + else { parsed_hostname = std::string("localhost"); } if(parts.size() >= 2) { parsed_port = math::clamp(strtoul(parts[1].c_str(), nullptr, 10), 1024, UINT16_MAX); - } else { + } + else { parsed_port = protocol::PORT; } -- cgit