]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
also make the darkplaces menu able to enter up to 127 chars in the name field
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 23 Dec 2010 01:30:56 +0000 (01:30 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 23 Dec 2010 01:30:56 +0000 (01:30 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10678 d7cf8633-e32d-0410-b094-e92efae38249

menu.c

diff --git a/menu.c b/menu.c
index 90a85ba68cd71e6d30a54edf0c467b9bc88cd50a..26eb371ab02a5c4be26ecef2ece927ca6f840fea 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -1238,7 +1238,7 @@ static void M_MultiPlayer_Key (int key, int ascii)
 static int             setup_cursor = 4;
 static int             setup_cursor_table[] = {40, 64, 88, 124, 140};
 
-static char    setup_myname[32];
+static char    setup_myname[MAX_SCOREBOARDNAME];
 static int             setup_oldtop;
 static int             setup_oldbottom;
 static int             setup_top;