diff options
author | rubidium <rubidium@openttd.org> | 2009-11-29 19:20:39 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-29 19:20:39 +0000 |
commit | 2e2f72b971a2365518bd9623aedfd64b53d0612c (patch) | |
tree | 7389f6dd1ab47d5c8cd79df1730b23980e087896 /src/industry_gui.cpp | |
parent | 2784f15304cd329bb7288aa54fb338f8bb335c3b (diff) | |
download | openttd-2e2f72b971a2365518bd9623aedfd64b53d0612c.tar.xz |
(svn r18342) -Fix: erroneous spaces before ;
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r-- | src/industry_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index f77567906..1a07bb2f2 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -399,7 +399,7 @@ public: switch (widget) { case DPIW_MATRIX_WIDGET: { const IndustrySpec *indsp; - int y = (pt.y - this->GetWidget<NWidgetBase>(DPIW_MATRIX_WIDGET)->pos_y) / this->resize.step_height + this->vscroll.GetPosition() ; + int y = (pt.y - this->GetWidget<NWidgetBase>(DPIW_MATRIX_WIDGET)->pos_y) / this->resize.step_height + this->vscroll.GetPosition(); if (y >= 0 && y < count) { // Is it within the boundaries of available data? this->selected_index = y; |