]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_win.c
cleaned up many text buffer sizes throughout the engine, most now use MAX_INPUTLINE...
[xonotic/darkplaces.git] / sys_win.c
index e48c2616acdf17cc49ddecc816e155a84609bcb3..b9b4cd387de985b9a3359ca78bc23ed6d1b31068 100644 (file)
--- a/sys_win.c
+++ b/sys_win.c
@@ -50,7 +50,7 @@ SYSTEM IO
 void Sys_Error (const char *error, ...)
 {
        va_list         argptr;
-       char            text[1024];
+       char            text[MAX_INPUTLINE];
        static int      in_sys_error0 = 0;
        static int      in_sys_error1 = 0;
        static int      in_sys_error2 = 0;
@@ -196,7 +196,7 @@ double Sys_DoubleTime (void)
 
 char *Sys_ConsoleInput (void)
 {
-       static char text[256];
+       static char text[MAX_INPUTLINE];
        static int len;
        INPUT_RECORD recs[1024];
        int ch;