]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_linux.c
fix FLT_MAX on visual studio sucky compiler
[xonotic/darkplaces.git] / sys_linux.c
index 79b5ae426f9aa3c2f8d530f2e5422240f9ae3b06..c9d36b0b9c0e2b8abe1dceb34d163c65339ffe2c 100644 (file)
@@ -239,7 +239,9 @@ char *Sys_ConsoleInput(void)
                        if (len >= 1)
                        {
                                // rip off the \n and terminate
-                               text[len-1] = 0;
+                               // div0: WHY? console code can deal with \n just fine
+                               // this caused problems with pasting stuff into a terminal window
+                               // text[len-1] = 0;
                                return text;
                        }
                }