diff options
author | belugas <belugas@openttd.org> | 2008-06-18 02:04:01 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-06-18 02:04:01 +0000 |
commit | f16b9dcd2b56268ff6dead2d88311ada0b05a780 (patch) | |
tree | f234c5aeffd7d2278313d53a9dfc38edf34c2f4b | |
parent | 5408e1a51bfc19064347c3ed4ef7ccc09fe73773 (diff) | |
download | openttd-f16b9dcd2b56268ff6dead2d88311ada0b05a780.tar.xz |
(svn r13560) -Fix(r13550): This section widget_count did not required to be lowered. So small revert
-rw-r--r-- | src/toolbar_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index e5edd8344..b8d3933cf 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -1152,7 +1152,7 @@ public: } uint extra_spacing_at[] = { 3, 4, 7, 8, 10, 16, 0 }; - for (uint i = 0, x = 0, j = 0, b = 0; i < this->widget_count - 1; i++) { + for (uint i = 0, x = 0, j = 0, b = 0; i < this->widget_count; i++) { switch (i) { case 4: this->widget[i].left = x; |