Poul says that setting fonts on monocrome displays is useless

as most mono displays aren't that intelligent anyway.  Disable it in this
case.
This commit is contained in:
jkh 1995-05-18 17:49:09 +00:00
parent 4b6f8edf3c
commit e62fc5d96d
3 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next * This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite. * 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 * Jordan Hubbard
* *
@ -220,7 +220,7 @@ systemHelpFile(char *file, char *buf)
void void
systemChangeFont(const u_char font[]) systemChangeFont(const u_char font[])
{ {
if (OnVTY) { if (OnVTY && ColorDisplay) {
if (ioctl(0, PIO_FONT8x16, font) < 0) if (ioctl(0, PIO_FONT8x16, font) < 0)
msgConfirm("Sorry! Unable to load font for %s", getenv("LANG")); msgConfirm("Sorry! Unable to load font for %s", getenv("LANG"));
} }

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next * This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite. * 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 * Jordan Hubbard
* *
@ -220,7 +220,7 @@ systemHelpFile(char *file, char *buf)
void void
systemChangeFont(const u_char font[]) systemChangeFont(const u_char font[])
{ {
if (OnVTY) { if (OnVTY && ColorDisplay) {
if (ioctl(0, PIO_FONT8x16, font) < 0) if (ioctl(0, PIO_FONT8x16, font) < 0)
msgConfirm("Sorry! Unable to load font for %s", getenv("LANG")); msgConfirm("Sorry! Unable to load font for %s", getenv("LANG"));
} }

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next * This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite. * 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 * Jordan Hubbard
* *
@ -220,7 +220,7 @@ systemHelpFile(char *file, char *buf)
void void
systemChangeFont(const u_char font[]) systemChangeFont(const u_char font[])
{ {
if (OnVTY) { if (OnVTY && ColorDisplay) {
if (ioctl(0, PIO_FONT8x16, font) < 0) if (ioctl(0, PIO_FONT8x16, font) < 0)
msgConfirm("Sorry! Unable to load font for %s", getenv("LANG")); msgConfirm("Sorry! Unable to load font for %s", getenv("LANG"));
} }