mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r13560) -Fix(r13550): This section widget_count did not required to be lowered. So small revert
This commit is contained in:
parent
5408e1a51b
commit
f16b9dcd2b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue