diff options
| author | untodesu <kirill@untode.su> | 2025-07-01 03:23:05 +0500 |
|---|---|---|
| committer | untodesu <kirill@untode.su> | 2025-07-01 03:23:05 +0500 |
| commit | 6dc5194895b6bd61d19bf5c95021471784084325 (patch) | |
| tree | 705c35b3a671a09fc52b406dca81e7761729ded6 /game/client/gui/settings.cc | |
| parent | 44d91043f268d93dd08e99c5855bd29f85dd61a7 (diff) | |
| download | voxelius-6dc5194895b6bd61d19bf5c95021471784084325.tar.bz2 voxelius-6dc5194895b6bd61d19bf5c95021471784084325.zip | |
I forgot to set these to true in .clang-format
https://files.catbox.moe/909rig.gif
Diffstat (limited to 'game/client/gui/settings.cc')
| -rw-r--r-- | game/client/gui/settings.cc | 9 |
1 files changed, 6 insertions, 3 deletions
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); } |
