diff options
author | rubidium <rubidium@openttd.org> | 2009-01-09 22:48:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-09 22:48:57 +0000 |
commit | 054787f08252150eac44afe15d413a478b00154a (patch) | |
tree | 5a709fc9741c4803e6ab373af4f5299d4fd95099 /src/network/network_gui.cpp | |
parent | 11822aa8ef242001084b5d59b151b3d60dd39c7d (diff) | |
download | openttd-054787f08252150eac44afe15d413a478b00154a.tar.xz |
(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces
Diffstat (limited to 'src/network/network_gui.cpp')
-rw-r--r-- | src/network/network_gui.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 380bf9060..7e3483501 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -608,7 +608,7 @@ public: EventState state = ES_NOT_HANDLED; /* handle up, down, pageup, pagedown, home and end */ - if (keycode == WKC_UP || keycode == WKC_DOWN || keycode == WKC_PAGEUP || keycode == WKC_PAGEDOWN || keycode == WKC_HOME || keycode == WKC_END) { + if (keycode == WKC_UP || keycode == WKC_DOWN || keycode == WKC_PAGEUP || keycode == WKC_PAGEDOWN || keycode == WKC_HOME || keycode == WKC_END) { if (this->servers.Length() == 0) return ES_HANDLED; switch (keycode) { case WKC_UP: @@ -642,15 +642,15 @@ public: default: break; } - this->server = this->servers[this->list_pos]; + this->server = this->servers[this->list_pos]; - /* scroll to the new server if it is outside the current range */ - this->ScrollToSelectedServer(); + /* scroll to the new server if it is outside the current range */ + this->ScrollToSelectedServer(); - /* redraw window */ - this->SetDirty(); - return ES_HANDLED; - } + /* redraw window */ + this->SetDirty(); + return ES_HANDLED; + } if (this->field != NGWW_CLIENT) { if (this->server != NULL) { |