summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index fcb04be0d..4235d3133 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -1481,7 +1481,7 @@ private:
}
this->avails.Filter(this->string_filter);
- this->avails.Compact();
+ this->avails.shrink_to_fit();
this->avails.RebuildDone();
this->avails.Sort();