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

(svn r11588) -Codechange: use the new member introduced in r11551

This commit is contained in:
glx
2007-12-07 18:05:49 +00:00
parent 98bd772119
commit c21f588a14
13 changed files with 39 additions and 39 deletions

View File

@@ -860,7 +860,7 @@ static void NetworkStartServerWindowWndProc(Window *w, WindowEvent *e)
_network_game_info.use_password = (_network_server_password[0] != '\0');
} else {
int32 value = atoi(e->we.edittext.str);
InvalidateWidget(w, nd->widget_id);
w->InvalidateWidget(nd->widget_id);
switch (nd->widget_id) {
default: NOT_REACHED();
case NSSW_CLIENTS_TXT: _network_game_info.clients_max = Clamp(value, 2, MAX_CLIENTS); break;