diff --git a/libs/video/targets/vid.c b/libs/video/targets/vid.c index cefc3af34..d37e4fc6f 100644 --- a/libs/video/targets/vid.c +++ b/libs/video/targets/vid.c @@ -126,7 +126,7 @@ VID_GetWindowSize (int def_w, int def_h) Cvar_SetFlags (con_width, con_width->flags | CVAR_ROM); vid.conwidth = con_width->int_val; - con_height = ((vid.conwidth & 0xFFF8) * 3) / 4; + conheight = ((vid.conwidth & 0xFFF8) * 3) / 4; con_height = Cvar_Get ("con_height", va ("%d", conheight), CVAR_NONE, NULL, "console effective height (GL only)"); if ((pnum = COM_CheckParm ("-conheight"))) {