summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-16 20:34:57 +0000
committerrubidium <rubidium@openttd.org>2009-11-16 20:34:57 +0000
commit626de6b128f3580c9559b2d09b15bb4ed314a20a (patch)
tree93239d913d9ad578483f4e7cbd42e76427bcf7a5 /src/settings_gui.cpp
parentcb3c4f2ebe01b91562ecf21b56742e31b4086d91 (diff)
downloadopenttd-626de6b128f3580c9559b2d09b15bb4ed314a20a.tar.xz
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r--src/settings_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index 3849d53dc..b65770cbd 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -1464,7 +1464,6 @@ struct GameSettingsWindow : Window {
this->InitNested(desc, 0);
- this->vscroll.SetCapacity((this->GetWidget<NWidgetBase>(SETTINGSEL_OPTIONSPANEL)->current_y - SETTINGTREE_TOP_OFFSET - SETTINGTREE_BOTTOM_OFFSET) / this->resize.step_height);
this->vscroll.SetCount(_settings_main_page.Length());
}