From: havoc Date: Thu, 26 Sep 2013 20:54:23 +0000 (+0000) Subject: fix a typo X-Git-Tag: xonotic-v0.8.0~96^2~26 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bd6ea691f42e1788efd6bb38447f889d03b9f089;p=xonotic%2Fdarkplaces.git fix a typo git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12014 d7cf8633-e32d-0410-b094-e92efae38249 --- 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;