From 894fcaf3fa4a4ccae1b89921975e3691f13841cb Mon Sep 17 00:00:00 2001 From: Pan7 Date: Wed, 17 Dec 2014 14:26:34 +0100 Subject: [PATCH] No fixed console linewidth --- code/client/cl_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/cl_console.c b/code/client/cl_console.c index 7d806e94..1818ede8 100644 --- a/code/client/cl_console.c +++ b/code/client/cl_console.c @@ -273,7 +273,7 @@ void Con_CheckResize (void) int i, j, width, oldwidth, oldtotallines, numlines, numchars; short tbuf[CON_TEXTSIZE]; - width = (SCREEN_WIDTH / SMALLCHAR_WIDTH) - 2; + width = (cls.glconfig.vidWidth / SMALLCHAR_WIDTH) - 2; if (width == con.linewidth) return;