]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_sdl.c
cleaned up many text buffer sizes throughout the engine, most now use MAX_INPUTLINE...
[xonotic/darkplaces.git] / sys_sdl.c
index 39c57df999a2159099295a4015f7d8cfe4f5df47..4187d529ed9c07792b04465463688eb7be037a31 100644 (file)
--- a/sys_sdl.c
+++ b/sys_sdl.c
@@ -30,7 +30,7 @@ void Sys_Shutdown (void)
 void Sys_Error (const char *error, ...)
 {
        va_list argptr;
-       char string[1024];
+       char string[MAX_INPUTLINE];
 
 // change stdin to non blocking
 #ifndef WIN32
@@ -83,7 +83,7 @@ char *Sys_ConsoleInput(void)
 {
        if (cls.state == ca_dedicated)
        {
-               static char text[256];
+               static char text[MAX_INPUTLINE];
                int len = 0;
 #ifdef WIN32
                int c;