]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_cmds.c
cleaned up many text buffer sizes throughout the engine, most now use MAX_INPUTLINE...
[xonotic/darkplaces.git] / prvm_cmds.c
index cf7caeef92fe10c133bf8cd17772ff64c8f9c910..e82fa7f7442fee53c955fbf01d5c8dcc029c6e1c 100644 (file)
@@ -1854,7 +1854,7 @@ float tokenize(string s)
 //this function originally written by KrimZon, made shorter by LordHavoc
 //20040203: rewritten by LordHavoc (no longer uses allocations)
 int num_tokens = 0;
-char *tokens[256], tokenbuf[4096];
+char *tokens[256], tokenbuf[MAX_INPUTLINE];
 void VM_tokenize (void)
 {
        size_t pos;