Console: Adjust line length based on scale

This commit is contained in:
svdijk 2015-12-19 20:36:25 +01:00
parent 5c54521199
commit 31ffb96614

View file

@ -261,8 +261,9 @@ Con_CheckResize(void)
{
int i, j, width, oldwidth, oldtotallines, numlines, numchars;
char tbuf[CON_TEXTSIZE];
float scale = SCR_GetConsoleScale();
width = (viddef.width >> 3) - 2;
width = ((int)(viddef.width / scale) >> 3) - 2;
if (width == con.linewidth)
{