1
0
Fork 0

Fix coding style to better conform to the guidelines

pull/14380/head
OllieBechstein 2025-06-19 22:34:08 +02:00
parent d6222cd5d7
commit 71ac8d508b
1 changed files with 2 additions and 1 deletions

View File

@ -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