]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a typo
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 26 Sep 2013 20:54:23 +0000 (20:54 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 3 Oct 2013 17:14:44 +0000 (19:14 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12014 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=bd6ea691f42e1788efd6bb38447f889d03b9f089

common.c

index f75d24eafa5d952589000cef62fb945c44a28e36..47edc4c9c06211253896925212c7358a01772670 100644 (file)
--- 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;