diff options
author | frosch <frosch@openttd.org> | 2012-11-14 22:50:26 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-14 22:50:26 +0000 |
commit | 6e6d94a2d14a50ad93577a4b030f25f8b64986b1 (patch) | |
tree | 17083b427a8977d182654b30e59c59a368a7856f /src/newgrf_gui.cpp | |
parent | 6653ac6b362cf88a6b77a4e8dd3c6926885c6b5f (diff) | |
download | openttd-6e6d94a2d14a50ad93577a4b030f25f8b64986b1.tar.xz |
(svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index e83259d4e..1fa6d47e3 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -1279,7 +1279,7 @@ struct NewGRFWindow : public QueryStringBaseWindow, NewGRFScanCallback { { if (!this->editable) return; - string_filter.SetFilterTerm(this->edit_str_buf); + string_filter.SetFilterTerm(this->text.buf); this->avails.SetFilterState(!string_filter.IsEmpty()); this->avails.ForceRebuild(); this->InvalidateData(0); |