diff options
author | Darkvater <Darkvater@openttd.org> | 2006-10-08 11:54:47 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-10-08 11:54:47 +0000 |
commit | e7149e316e3e87112d268d714ddd7148da7bc166 (patch) | |
tree | 8624a12464697a473d621988cf90271111263c1c | |
parent | 04767777938acffb8eeaf1ee79df408941488c69 (diff) | |
download | openttd-e7149e316e3e87112d268d714ddd7148da7bc166.tar.xz |
(svn r6688) -Fix (r6297): Wrong caption for server password query window (eg put 'break' after switch statements)
-rw-r--r-- | network_gui.c | 4 |
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); } |