mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 09:59:10 +00:00
(svn r6688) -Fix (r6297): Wrong caption for server password query window (eg put 'break' after switch statements)
This commit is contained in:
@@ -1393,8 +1393,8 @@ void ShowNetworkNeedPassword(NetworkPasswordType npt)
|
|||||||
pw_type = npt;
|
pw_type = npt;
|
||||||
switch (npt) {
|
switch (npt) {
|
||||||
default: NOT_REACHED();
|
default: NOT_REACHED();
|
||||||
case NETWORK_GAME_PASSWORD: caption = STR_NETWORK_NEED_GAME_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;
|
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);
|
ShowQueryString(STR_EMPTY, caption, 20, 180, WC_NETWORK_STATUS_WINDOW, 0, CS_ALPHANUMERAL);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user