From 71ac8d508b2c63de073a838557069f2fa57fde1e Mon Sep 17 00:00:00 2001 From: OllieBechstein Date: Thu, 19 Jun 2025 22:34:08 +0200 Subject: [PATCH] Fix coding style to better conform to the guidelines --- src/settings_gui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 90f8631911..4cea8487cb 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -1069,7 +1069,8 @@ struct GameOptionsWindow : Window { if (_gui_scale_cfg == -1) { _gui_scale_cfg = previous_gui_scale; // Store the previous GUI scale value this->SetWidgetLoweredState(WID_GO_GUI_SCALE_AUTO, false); - if (AdjustGUIZoom(false)) ReInitAllWindows(true); + if (AdjustGUIZoom(false)) + ReInitAllWindows(true); this->gui_scale = _gui_scale; } else { previous_gui_scale = _gui_scale; // Set the previous GUI scale value as the current one