Codefix: missing space between close parenthesis and open curly brace

This commit is contained in:
Rubidium
2024-04-16 18:44:55 +02:00
committed by rubidium42
parent 48eb9b8bc9
commit b2218e75d4
6 changed files with 7 additions and 7 deletions

View File

@@ -1260,7 +1260,7 @@ struct BuildVehicleWindow : Window {
/* Select the first unshaded engine in the list as default when opening the window */
EngineID engine = INVALID_ENGINE;
auto it = std::find_if(this->eng_list.begin(), this->eng_list.end(), [&](GUIEngineListItem &item){ return (item.flags & EngineDisplayFlags::Shaded) == EngineDisplayFlags::None; });
auto it = std::find_if(this->eng_list.begin(), this->eng_list.end(), [&](GUIEngineListItem &item) { return (item.flags & EngineDisplayFlags::Shaded) == EngineDisplayFlags::None; });
if (it != this->eng_list.end()) engine = it->engine_id;
this->SelectEngine(engine);
}