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/settings.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'game/client/gui/settings.cc') diff --git a/game/client/gui/settings.cc b/game/client/gui/settings.cc index 5c6b5eb..034db4c 100644 --- a/game/client/gui/settings.cc +++ b/game/client/gui/settings.cc @@ -315,7 +315,8 @@ void SettingValue_InputString::layout(void) const if(allow_whitespace) { flags = ImGuiInputTextFlags_AllowTabInput; - } else { + } + else { flags = 0; } @@ -379,7 +380,8 @@ void SettingValue_StepperInt::layout(void) const if(current_value > max_value) { value->set_value(min_value); - } else { + } + else { value->set_value(current_value); } @@ -409,7 +411,8 @@ void SettingValue_StepperUnsigned::layout(void) const if(current_value > max_value) { value->set_value(min_value); - } else { + } + else { value->set_value(current_value); } -- cgit