summaryrefslogtreecommitdiff
path: root/src/network/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/network.cpp')
-rw-r--r--src/network/network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp
index e4e21f1d9..70bfb1678 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -441,7 +441,7 @@ static NetworkClientSocket *NetworkAllocClient(SOCKET s)
ci->client_playas = COMPANY_INACTIVE_CLIENT;
ci->join_date = _date;
- InvalidateWindow(WC_CLIENT_LIST, 0);
+ SetWindowDirty(WC_CLIENT_LIST, 0);
}
return cs;
@@ -489,7 +489,7 @@ void NetworkCloseClient(NetworkClientSocket *cs, bool error)
if (cs->status >= STATUS_AUTH) _network_game_info.clients_on--;
_network_clients_connected--;
- InvalidateWindow(WC_CLIENT_LIST, 0);
+ SetWindowDirty(WC_CLIENT_LIST, 0);
}
delete cs->GetInfo();