Codechange: replace x.size() != 0 with !x.empty()
This commit is contained in:
@@ -163,7 +163,7 @@ struct NewGRFParametersWindow : public Window {
|
||||
clicked_row(UINT_MAX),
|
||||
editable(editable)
|
||||
{
|
||||
this->action14present = (c->num_valid_params != c->param.size() || c->param_info.size() != 0);
|
||||
this->action14present = (c->num_valid_params != c->param.size() || !c->param_info.empty());
|
||||
|
||||
this->CreateNestedTree();
|
||||
this->vscroll = this->GetScrollbar(WID_NP_SCROLLBAR);
|
||||
|
Reference in New Issue
Block a user