diff options
-rw-r--r-- | src/signs_gui.cpp | 6 |
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) { |