summaryrefslogtreecommitdiff
path: root/src/signs_gui.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-09-01 08:57:33 +0000
committerpeter1138 <peter1138@openttd.org>2008-09-01 08:57:33 +0000
commit941f8b5f16d28f3bd7eb204bd2d475574f1e4240 (patch)
treeba84e601b865000cf79800157d619943c2876a4f /src/signs_gui.cpp
parent886c8ec79fa534ff9f660c96a02f606dd55eb035 (diff)
downloadopenttd-941f8b5f16d28f3bd7eb204bd2d475574f1e4240.tar.xz
(svn r14215) -Cleanup (r13866): Strange line wrapping...
Diffstat (limited to 'src/signs_gui.cpp')
-rw-r--r--src/signs_gui.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp
index ec0da0679..04089bd4e 100644
--- a/src/signs_gui.cpp
+++ b/src/signs_gui.cpp
@@ -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) {