From bfe08bfc9c747b1a2a9e1ea792ed7b105cab12bb Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Sat, 15 Sep 2007 18:26:42 +0000 Subject: Switch video mode back _after_ window is destroyed on Windows. --- source/net_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/net_common.c') diff --git a/source/net_common.c b/source/net_common.c index 3ee5494..ff837b0 100644 --- a/source/net_common.c +++ b/source/net_common.c @@ -75,7 +75,7 @@ static cvar_t *net_backlog; static loopback_t loopbacks[NS_COUNT]; static SOCKET udp_sockets[NS_COUNT] = { INVALID_SOCKET, INVALID_SOCKET }; -static const char *const socketNames[NS_COUNT] = { "Client", "Server" }; +static const char socketNames[NS_COUNT][8] = { "Client", "Server" }; static SOCKET tcp_socket = INVALID_SOCKET; static fileHandle_t net_logFile; -- cgit v1.2.3