summaryrefslogtreecommitdiffstats
path: root/game/client/gui/settings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/gui/settings.cc')
-rw-r--r--game/client/gui/settings.cc9
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);
}