aboutsummaryrefslogtreecommitdiff
path: root/stand/i386/libi386
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2021-02-08 18:49:09 +0000
committerToomas Soome <tsoome@FreeBSD.org>2021-02-09 11:45:07 +0000
commit96bef2053a87c8d01ce08ea88857e4657489c8e7 (patch)
tree3ba96bfb069a194f8b5ac125a986f00db19334cd /stand/i386/libi386
parent504ebd612ec61165bb949cfce3a348b0d6f37008 (diff)
downloadsrc-96bef2053a87c8d01ce08ea88857e4657489c8e7.tar.gz
src-96bef2053a87c8d01ce08ea88857e4657489c8e7.zip
loader: remove BORDER_PIXELS
BORDER_PIXELS is left over from picking up the source from illumos port. Since FreeBSD VT does not use border in terminal size calculation, there is no reason why should loader use it. MFC after: 1 week
Diffstat (limited to 'stand/i386/libi386')
-rw-r--r--stand/i386/libi386/vidconsole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stand/i386/libi386/vidconsole.c b/stand/i386/libi386/vidconsole.c
index e17885cb7b0c..f94ed2d26712 100644
--- a/stand/i386/libi386/vidconsole.c
+++ b/stand/i386/libi386/vidconsole.c
@@ -908,8 +908,8 @@ cons_update_mode(bool use_gfx_mode)
} else {
/* Trigger loading of 8x16 font. */
setup_font(&gfx_state,
- 16 * gfx_state.tg_fb.fb_height + BORDER_PIXELS,
- 8 * gfx_state.tg_fb.fb_width + BORDER_PIXELS);
+ 16 * gfx_state.tg_fb.fb_height,
+ 8 * gfx_state.tg_fb.fb_width);
gfx_state.tg_functions = &tf;
/* ensure the following are not set for text mode */
unsetenv("screen.height");