mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r14215) -Cleanup (r13866): Strange line wrapping...
This commit is contained in:
parent
886c8ec79f
commit
941f8b5f16
|
@ -241,8 +241,7 @@ struct SignWindow : QueryStringBaseWindow, SignList {
|
|||
this->SortSignsList();
|
||||
|
||||
/* By default pick the last entry */
|
||||
const Sign *si = this->signs[this->signs.Length(
|
||||
) - 1];
|
||||
const Sign *si = this->signs[this->signs.Length() - 1];
|
||||
|
||||
for (uint i = 1; i < this->signs.Length(); i++) {
|
||||
if (this->cur_sign == this->signs[i]->index) {
|
||||
|
@ -265,8 +264,7 @@ struct SignWindow : QueryStringBaseWindow, SignList {
|
|||
this->SortSignsList();
|
||||
|
||||
/* By default pick the last entry */
|
||||
const Sign *si = this->signs[this->signs.Length(
|
||||
) - 1];
|
||||
const Sign *si = this->signs[this->signs.Length() - 1];
|
||||
|
||||
for (uint i = 0; i < this->signs.Length() - 1; i++) {
|
||||
if (this->cur_sign == this->signs[i]->index) {
|
||||
|
|
Loading…
Reference in New Issue