summaryrefslogtreecommitdiff
path: root/src/misc_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/misc_gui.cpp
parentcb3c4f2ebe01b91562ecf21b56742e31b4086d91 (diff)
downloadopenttd-626de6b128f3580c9559b2d09b15bb4ed314a20a.tar.xz
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r--src/misc_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 28c209013..11ef35b5c 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1777,7 +1777,6 @@ public:
this->FinishInitNested(desc, 0);
this->LowerWidget(SLWW_DRIVES_DIRECTORIES_LIST);
- this->vscroll.SetCapacity(this->GetWidget<NWidgetBase>(SLWW_DRIVES_DIRECTORIES_LIST)->current_y / this->resize.step_height);
/* pause is only used in single-player, non-editor mode, non-menu mode. It
* will be unpaused in the WE_DESTROY event handler. */