diff options
author | frosch <frosch@openttd.org> | 2012-06-04 15:30:29 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-06-04 15:30:29 +0000 |
commit | d58eee1e7945098f32e2d4419506ce1a81f3e4d6 (patch) | |
tree | d5b61295290e921e8dff31d1bd73d149c84c113a /src/network/network_content_gui.cpp | |
parent | 31eb896143ca5a38c0dc7355921393f357c5a383 (diff) | |
download | openttd-d58eee1e7945098f32e2d4419506ce1a81f3e4d6.tar.xz |
(svn r24324) -Codechange: Turn functions dealing with Textbufs into member functions.
Diffstat (limited to 'src/network/network_content_gui.cpp')
-rw-r--r-- | src/network/network_content_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index 5b1d97329..f3ebfc4f4 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -371,7 +371,7 @@ public: this->GetWidget<NWidgetStacked>(WID_NCL_SEL_ALL_UPDATE)->SetDisplayedPlane(select_all); this->afilter = CS_ALPHANUMERAL; - InitializeTextBuffer(&this->text, this->edit_str_buf, this->edit_str_size, EDITBOX_MAX_LENGTH); + this->text.Initialize(this->edit_str_buf, this->edit_str_size, EDITBOX_MAX_LENGTH); this->SetFocusedWidget(WID_NCL_FILTER); _network_content_client.AddCallback(this); |