summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-05-10 18:30:22 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-05-10 18:30:22 +0000
commit2c378fd851d2b771b30dcbec2263412124651110 (patch)
treec2cf7daa0ed3d7541adc3511fcf49092141dbf9f
parentad20f40d28bbfe17570d0e3a341b5d2c5ce89e3c (diff)
Make the HAVE_FONT logic work correctly when user requests FONT_BOLD8x16
only.
-rw-r--r--sys/dev/wsfont/wsfont.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/wsfont/wsfont.c b/sys/dev/wsfont/wsfont.c
index 11f7871698d..95ae43e694c 100644
--- a/sys/dev/wsfont/wsfont.c
+++ b/sys/dev/wsfont/wsfont.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsfont.c,v 1.7 2002/10/12 01:09:45 krw Exp $ */
+/* $OpenBSD: wsfont.c,v 1.8 2003/05/10 18:30:21 miod Exp $ */
/* $NetBSD: wsfont.c,v 1.17 2001/02/07 13:59:24 ad Exp $ */
/*-
@@ -96,6 +96,10 @@
#define HAVE_FONT 1
#endif
+#ifdef FONT_BOLD8x16
+#define HAVE_FONT 1
+#endif
+
/* Make sure we always have at least one font. */
#ifndef HAVE_FONT
#define HAVE_FONT 1