]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.c
reworked console rendering, now uses con_backscroll in a much more
[xonotic/darkplaces.git] / keys.c
diff --git a/keys.c b/keys.c
index d9d7d067d1cf5789711c03093ea21fdd2d7c15ba..e0177edbb5fd7f051f2afaa52c09563102868379 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -921,7 +921,7 @@ Key_Console (int key, int unicode)
        if (key == K_HOME || key == K_KP_HOME)
        {
                if (keydown[K_CTRL])
-                       con_backscroll = INT_MAX;
+                       con_backscroll = CON_TEXTSIZE;
                else
                        key_linepos = 1;
                return;