diff options
author | rubidium <rubidium@openttd.org> | 2009-10-24 09:47:02 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-10-24 09:47:02 +0000 |
commit | 2f41c0411c270388efefb9bfa8dd7ecf1cf5b10b (patch) | |
tree | a449e9f822d676407437b8f6ebdc24fc6459ab48 /src/station_gui.cpp | |
parent | d5a3ec1996cb70624395dd642a6ccc410856a18e (diff) | |
download | openttd-2f41c0411c270388efefb9bfa8dd7ecf1cf5b10b.tar.xz |
(svn r17850) -Codechange: remove most usage of delta on OnResize
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r-- | src/station_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 1822c92b3..28118103e 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -1051,7 +1051,7 @@ struct StationViewWindow : public Window { virtual void OnResize(Point delta) { - if (delta.x != 0) ResizeButtons(this, SVW_LOCATION, SVW_RENAME); + ResizeButtons(this, SVW_LOCATION, SVW_RENAME); this->vscroll.SetCapacity((this->widget[SVW_WAITING].bottom - this->widget[SVW_WAITING].top + 1) / this->resize.step_height); } }; |