summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/system.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-18 17:49:09 +0000
committerjkh <jkh@FreeBSD.org>1995-05-18 17:49:09 +0000
commit0df3b98233130764948f6afe921e35878ef351c4 (patch)
treefa8ac64eb9bf4b06828e7d1570730b4e8f8c6d24 /usr.sbin/sysinstall/system.c
parent872bdece6f977a9ec203e2fbde750d8aa01fc38a (diff)
downloadFreeBSD-src-0df3b98233130764948f6afe921e35878ef351c4.zip
FreeBSD-src-0df3b98233130764948f6afe921e35878ef351c4.tar.gz
Poul says that setting fonts on monocrome displays is useless
as most mono displays aren't that intelligent anyway. Disable it in this case.
Diffstat (limited to 'usr.sbin/sysinstall/system.c')
-rw-r--r--usr.sbin/sysinstall/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/system.c b/usr.sbin/sysinstall/system.c
index cbb8e63..ba74a7c 100644
--- a/usr.sbin/sysinstall/system.c
+++ b/usr.sbin/sysinstall/system.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: system.c,v 1.15 1995/05/18 15:29:46 jkh Exp $
+ * $Id: system.c,v 1.16 1995/05/18 15:58:32 jkh Exp $
*
* Jordan Hubbard
*
@@ -220,7 +220,7 @@ systemHelpFile(char *file, char *buf)
void
systemChangeFont(const u_char font[])
{
- if (OnVTY) {
+ if (OnVTY && ColorDisplay) {
if (ioctl(0, PIO_FONT8x16, font) < 0)
msgConfirm("Sorry! Unable to load font for %s", getenv("LANG"));
}
OpenPOWER on IntegriCloud