Scroll console immediately upon pressing PageUp

This commit is contained in:
jameds authored and James R committed 2019-03-26 12:05:23 -07:00
1 parent 9ef98471a4
commit 587586f4bb
1 file changed
+1 -2
+1 -2
View File
@@ -1539,8 +1539,7 @@ static void CON_DrawConsole(void)
i = con_cy - con_scrollup;
// skip the last empty line due to the cursor being at the start of a new line
if (!con_scrollup && !con_cx)
i--;
i--;
i -= (con_curlines - minheight) / charheight;