From 6e6d94a2d14a50ad93577a4b030f25f8b64986b1 Mon Sep 17 00:00:00 2001 From: frosch Date: Wed, 14 Nov 2012 22:50:26 +0000 Subject: (svn r24740) -Codechange: Remove duplicate members from QueryStringBaseWindow and directly use QueryString. --- src/newgrf_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_gui.cpp') 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); -- cgit v1.2.3-70-g09d2