From a9b9f3290ffc60b15ce243288ecb4a671bb05afd Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 26 Sep 2013 20:54:23 +0000 Subject: [PATCH] fix a typo git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12014 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=bd6ea691f42e1788efd6bb38447f889d03b9f089 --- common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.c b/common.c index f75d24ea..47edc4c9 100644 --- a/common.c +++ b/common.c @@ -1588,7 +1588,7 @@ static void COM_SetGameType(int index) // if there are spaces in the game's network filter name it would // cause parse errors in getservers in dpmaster, so we need to replace // them with _ characters - strlcpy(gamenetworkfilternamebuffer, gamenetworkfiltername, sizeof(gamenetworkfiltername)); + strlcpy(gamenetworkfilternamebuffer, gamenetworkfiltername, sizeof(gamenetworkfilternamebuffer)); while ((s = strchr(gamenetworkfilternamebuffer, ' ')) != NULL) *s = '_'; gamenetworkfiltername = gamenetworkfilternamebuffer; -- 2.39.2