summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-09-05 18:51:09 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-09-05 18:51:09 +0000
commitd1757272b5bf4a0ccbb1e5f122dcbb85b69cdbf8 (patch)
tree6eec32ec80f0c13f635ce3bc96af8a74f0f4c39a /sys/arch
parent54eae00b57fc4cff56d2ede6fa1f2e03dc233f06 (diff)
use small font if size <= 800x600 (was if size < 800x600)
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/fb.c b/sys/arch/sparc/dev/fb.c
index 9ef896b3f7f..06f52392aa9 100644
--- a/sys/arch/sparc/dev/fb.c
+++ b/sys/arch/sparc/dev/fb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fb.c,v 1.14 1998/03/20 05:18:27 todd Exp $ */
+/* $OpenBSD: fb.c,v 1.15 1999/09/05 18:51:08 jason Exp $ */
/* $NetBSD: fb.c,v 1.23 1997/07/07 23:30:22 pk Exp $ */
/*
@@ -403,7 +403,7 @@ fbrcons_init(fb)
rc->rc_height = fb->fb_type.fb_height;
rc->rc_depth = fb->fb_type.fb_depth;
/* Setup the static font, use a small font if display is < 800x600 */
- if(rc->rc_height * rc->rc_width < 800*600)
+ if(rc->rc_height * rc->rc_width <= 800*600)
rc->rc_font = &console_font_fixed;
else
rc->rc_font = &console_font;