summaryrefslogtreecommitdiff
path: root/source/net_common.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-09-15 18:26:42 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-09-15 18:26:42 +0000
commitbfe08bfc9c747b1a2a9e1ea792ed7b105cab12bb (patch)
tree6b7b60c00b0d39246c5283a072857e530a25fbaa /source/net_common.c
parentbc38392eb1e7b219e3b3814934c530a028587dbd (diff)
Switch video mode back _after_ window is destroyed on Windows.
Diffstat (limited to 'source/net_common.c')
-rw-r--r--source/net_common.c2
1 files changed, 1 insertions, 1 deletions
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;