mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
remove a magic number
This commit is contained in:
parent
6b93ec0076
commit
9ecce9becd
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ Cmd_TokenizeString (const char *text)
|
|||
return;
|
||||
|
||||
if (cmd_argc < MAX_ARGS) {
|
||||
if (argv_idx + strlen (com_token) + 1 > 1024) {
|
||||
if (argv_idx + strlen (com_token) + 1 > MAX_COM_TOKEN) {
|
||||
Con_Printf ("Cmd_TokenizeString: overflow\n");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue