1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 12:39:11 +00:00

(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces

This commit is contained in:
rubidium
2009-01-09 22:48:57 +00:00
parent 5fc7fe9648
commit c08f520acf
6 changed files with 16 additions and 16 deletions

View File

@@ -202,7 +202,7 @@ void NetworkTextMessage(NetworkAction action, ConsoleColour color, bool self_sen
case NETWORK_ACTION_GIVE_MONEY: strid = self_send ? STR_NETWORK_GAVE_MONEY_AWAY : STR_NETWORK_GIVE_MONEY; break;
case NETWORK_ACTION_CHAT_COMPANY: strid = self_send ? STR_NETWORK_CHAT_TO_COMPANY : STR_NETWORK_CHAT_COMPANY; break;
case NETWORK_ACTION_CHAT_CLIENT: strid = self_send ? STR_NETWORK_CHAT_TO_CLIENT : STR_NETWORK_CHAT_CLIENT; break;
default: strid = STR_NETWORK_CHAT_ALL; break;
default: strid = STR_NETWORK_CHAT_ALL; break;
}
char message[1024];

View File

@@ -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) {