(svn r24738) -Codechange: Remove Textbuf::Initialize in favour of a constructor.

This commit is contained in:
frosch
2012-11-14 22:50:17 +00:00
parent 0ea2152355
commit f6d4200f86
15 changed files with 29 additions and 62 deletions

View File

@@ -637,7 +637,6 @@ struct NewGRFWindow : public QueryStringBaseWindow, NewGRFScanCallback {
this->GetWidget<NWidgetStacked>(WID_NS_SHOW_APPLY)->SetDisplayedPlane(this->editable ? 0 : this->show_params ? 1 : SZSP_HORIZONTAL);
this->FinishInitNested(desc, WN_GAME_OPTIONS_NEWGRF_STATE);
this->text.Initialize(this->edit_str_buf, this->edit_str_size);
this->SetFocusedWidget(WID_NS_FILTER);
this->avails.SetListing(this->last_sorting);