summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-10-08 11:54:47 +0000
committerDarkvater <darkvater@openttd.org>2006-10-08 11:54:47 +0000
commit68d703bb5d2fe666c114bfa9a4daf51fecceae03 (patch)
tree8624a12464697a473d621988cf90271111263c1c
parent5380833aab6b649568f8c7cb45bc5d49461214fb (diff)
downloadopenttd-68d703bb5d2fe666c114bfa9a4daf51fecceae03.tar.xz
(svn r6688) -Fix (r6297): Wrong caption for server password query window (eg put 'break' after switch statements)
-rw-r--r--network_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network_gui.c b/network_gui.c
index b7c9e1226..a212a8f6f 100644
--- a/network_gui.c
+++ b/network_gui.c
@@ -1393,8 +1393,8 @@ void ShowNetworkNeedPassword(NetworkPasswordType npt)
pw_type = npt;
switch (npt) {
default: NOT_REACHED();
- case NETWORK_GAME_PASSWORD: caption = STR_NETWORK_NEED_GAME_PASSWORD_CAPTION;
- case NETWORK_COMPANY_PASSWORD: caption = STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION;
+ case NETWORK_GAME_PASSWORD: caption = STR_NETWORK_NEED_GAME_PASSWORD_CAPTION; break;
+ case NETWORK_COMPANY_PASSWORD: caption = STR_NETWORK_NEED_COMPANY_PASSWORD_CAPTION; break;
}
ShowQueryString(STR_EMPTY, caption, 20, 180, WC_NETWORK_STATUS_WINDOW, 0, CS_ALPHANUMERAL);
}